Skip to content

Commit

Permalink
libcurl: more links, more cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jul 2, 2024
1 parent a3f7c2a commit 58ae3f4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
1 change: 1 addition & 0 deletions libcurl/_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<a class="dropbtn" href="/libcurl/">Docs</a>
<div class="dropdown-content">
<a href="/libcurl/abi.html">ABI</a>
<a href="/libcurl/c/allfuncs.html">All functions</a>
<a href="/libcurl/c/">API</a>
<a href="/libcurl/bindings.html">Bindings</a>
<a href="/libcurl/competitors.html">Competitors</a>
Expand Down
1 change: 1 addition & 0 deletions libcurl/_security.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<b>Related:</b>
<br><a href="c/example.html">Examples</a>
<br><a href="c/">API</a>
<br><a href="c/threadsafe.html">Thread safe</a>
</div>

#include "security.gen"
Expand Down
10 changes: 6 additions & 4 deletions libcurl/c/_example-templ.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
TITLE(%cfile%)
<div class="relatedbox">
<b>Related:</b>
<br><a href="https://github.com/curl/curl/issues/new?title=%cfile%%20example&amp;labels=documentation" target="_new">File a bug about %cfile%</a>
<br><a href="https://github.com/curl/curl/blob/master/docs/examples/%cfile%" target="_new">View %cfile% in git</a>
<br><a href="https://github.com/curl/curl/raw/master/docs/examples/%cfile%">Download %cfile% raw</a>
<br><a href="allfuncs.html">All functions</a>
<br><a href="https://github.com/curl/curl/issues/new?title=%cfile%%20example&amp;labels=documentation" target="_new">File a bug</a>
<br><a href="symbols-in-versions.html">Symbols</a>
<br><a href="https://github.com/curl/curl/blob/master/docs/examples/%cfile%" target="_new">View in git</a>
<br><a href="https://github.com/curl/curl/raw/master/docs/examples/%cfile%">View raw</a>
</div>
<div style="clear: both"/>
<div>

#include "%rawfile%"

Expand Down
21 changes: 13 additions & 8 deletions libcurl/c/_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@
WHERE3(libcurl, "/libcurl/", API, "/libcurl/c/", Examples)

TITLE(libcurl - small example snippets)
<p> These files are intended as examples only. In the interest
of simplicity and clarity, they might not include proper error handling and
might produce compiler warnings on some platforms. Real-world applications
should pay more attention to these issues.
<div class="relatedbox">
<b>Related:</b>
<br><a href="allfuncs.html">All functions</a>
<br><a href="./">API</a>
<br><a href="symbols-in-versions.html">Symbols</a>
</div>

<p>
Download <a href="allexamples.zip">allexamples.zip</a>, it contains all the
example sources listed here.
<p> A collection of smaller stand-alone applications using the libcurl API in
different ways to show how to use it for different Internet transfer
scenarios.

<p align="center">
<span style="font-size: 140%; padding: 5px 5px 5px 5px; border: 4px dotted blue;" align="center"><a href="allexamples.zip"> Download all examples </a></span>

<p>
You can also see a list of all <a href="options-in-examples.html">libcurl
Expand All @@ -29,7 +34,7 @@
<p>
All examples are written in C, unless specifically mentioned.

SUBTITLE(The examples)
SUBTITLE(Index of examples)
<p>
#include "allex-desc.gen"

Expand Down
1 change: 1 addition & 0 deletions libcurl/c/_threadsafe.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<div class="relatedbox">
<b>Related:</b>
<br><a href="features.html">Features</a>
<br><a href="../security.html">Security</a>
</div>

#include "threadsafe.gen"
Expand Down

0 comments on commit 58ae3f4

Please sign in to comment.