Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: bring back the alt-svc and hsts docs pages #411

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ CVELIST = \

PAGES = \
$(CVELIST) \
alt-svc.html \
audits.html \
bugbounty.html \
bugs.html \
Expand All @@ -196,6 +197,7 @@ PAGES = \
governance.html \
help-us.html \
history.html \
hsts.html \
http-cookies.html \
http3.html \
httpscripting.html \
Expand Down Expand Up @@ -351,6 +353,17 @@ faq.html: _faq.shtml $(MAINPARTS) faq.gen
faq.gen: $(DOCROOT)/FAQ faqparse.pl
./faqparse.pl < $< > $@

alt-svc.html: _alt-svc.html $(MAINPARTS) alt-svc.gen
$(ACTION)
alt-svc.gen: $(DOCROOT)/ALTSVC.md
$(MARKDOWN) < $< >$@

hsts.html: _hsts.html $(MAINPARTS) hsts.gen
$(ACTION)

hsts.gen: $(DOCROOT)/HSTS.md
$(GITHUB) $< >$@

http-cookies.html: _http-cookies.html $(MAINPARTS) http-cookies.gen
$(ACTION)

Expand Down
29 changes: 29 additions & 0 deletions docs/_alt-svc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include "_doctype.html"
<html>
<head> <title>curl - Alt-Svc cache</title>
#include "css.t"
</head>

#define CURL_DOCS
#define PROT_DOCS
#define DOCS_ALT_SVC
#define CURL_URL docs/alt-svc.html

#include "_menu.html"
#include "setup.t"

WHERE3(Docs, "/docs/", Protocols, "/docs/protdocs.html", Alt-Svc cache)

<div class="relatedbox">
<b>Related:</b>
<br><a href="manpage.html">curl manpage</a>
<br><a href="tutorial.html">Tutorial</a>
<br><a href="httpscripting.html">HTTP Scripting</a>
</div>

#include "alt-svc.gen"

#include "_footer.html"

</body>
</html>
29 changes: 29 additions & 0 deletions docs/_hsts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include "_doctype.html"
<html>
<head> <title>curl - HTTP Strict-Transport-Security (HSTS)</title>
#include "css.t"
</head>

#define CURL_DOCS
#define PROT_DOCS
#define DOCS_HSTS
#define CURL_URL docs/hsts.html

#include "_menu.html"
#include "setup.t"

WHERE3(Docs, "/docs/", Protocols, "/docs/protdocs.html", HSTS)

<div class="relatedbox">
<b>Related:</b>
<br><a href="manpage.html">manpage</a>
<br><a href="httpscripting.html">HTTP Scripting</a>
<br><a href="tutorial.html">Tutorial</a>
</div>

#include "hsts.gen"

#include "_footer.html"

</body>
</html>
Loading