Skip to content

Commit

Permalink
dev: convert testcurl and runtests docs from curldown
Browse files Browse the repository at this point in the history
Closes #368
  • Loading branch information
bagder committed Jul 31, 2024
1 parent 4850a39 commit f5e24d7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 43 deletions.
8 changes: 4 additions & 4 deletions dev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ code-style.gen: $(SRCROOT)/docs/CODE_STYLE.md

testcurl.html: _testcurl.html $(MAINPARTS) testcurl.gen
$(ACTION)
testcurl.gen: $(TESTROOT)/testcurl.1
$(MAN2HTML) < $< > $@
testcurl.gen: $(TESTROOT)/testcurl.md
$(MARKDOWN) < $< > $@

runtests.html: _runtests.html $(MAINPARTS) runtests.gen
$(ACTION)
runtests.gen: $(TESTROOT)/runtests.1
$(MAN2HTML) < $< > $@
runtests.gen: $(TESTROOT)/runtests.md
$(MARKDOWN) < $< > $@

code-review.html: _code-review.html $(MAINPARTS) code-review.gen
$(ACTION)
Expand Down
4 changes: 2 additions & 2 deletions dev/_runtests.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

WHERE2(Development, "/dev/", runtests.pl)

TITLE(runtests.1 the manpage)
TITLE(runtests manpage)
<div class="relatedbox">
<b>Related:</b>
<br><a href="tests-overview.html">Tests Overview</a>
<br><a href="/docs/manpage.html">manpage</a>
<br><a href="testcurl.html">testcurl.1</a>
<br><a href="testcurl.html">testcurl manpage</a>
</div>

#include "runtests.gen"
Expand Down
2 changes: 1 addition & 1 deletion dev/_test-fileformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="relatedbox">
<b>Related:</b>
<br><a href="/docs/manpage.html">manpage</a>
<br><a href="runtests.html">runtests.1</a>
<br><a href="runtests.html">runtests manpage</a>
</div>

#include "fileformat.gen"
Expand Down
4 changes: 2 additions & 2 deletions dev/_testcurl.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

WHERE2(Development, "/dev/", testcurl.pl)

TITLE(testcurl.1 the manpage)
TITLE(testcurl manpage)
<div class="relatedbox">
<b>Related:</b>
<br><a href="tests-overview.html">Tests Overview</a>
<br><a href="runtests.html">runtests.1</a>
<br><a href="runtests.html">runtests manpage</a>
<br><a href="/docs/tutorial.html">Tutorial</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion dev/_tests-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="relatedbox">
<b>Related:</b>
<br><a href="runtests.html">runtests.1</a>
<br><a href="runtests.html">runtests manpage</a>
<br><a href="testcurl.html">Test curl</a>
<br><a href="/docs/tutorial.html">Tutorial</a>
</div>
Expand Down
32 changes: 0 additions & 32 deletions docs/_testcurl.html

This file was deleted.

2 changes: 1 addition & 1 deletion trurl/_manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

WHERE2(trurl, "/trurl/", Manpage)

TITLE(trurl.1 the manpage)
TITLE(trurl manpage)
<div class="relatedbox">
<b>Related:</b>
<br><a href="https://github.com/curl/trurl">GitHub repo</a>
Expand Down

0 comments on commit f5e24d7

Please sign in to comment.