Mercurial > p > roundup > code
view website/www/Makefile @ 7787:2ab234484708
docs: add older docs and link them from a Sphinx controlled doc
doc/sc.txt
I can't reference html docs relatively directly from a sphinx
toctree. So I created a new sc.txt to link to the existing:
software carpentry overview (precursor to overview.txt)
software carpentry design (precursor to design.txt)
I also added a link to a short paper that Ka-Ping Yee wrote on
Roundup's prototype and issues with other systems (bugzilla/jitterbug).
doc/design.txt
add link to the original precursor doc spec.html.
doc/html_extra/roundup_short_paper.html, doc/html_extra/images/jitterbug-2.gif
The paper, lightly edited to make image references work. Original
location/name was: http://www.lfw.org/ping/roundup.html aka
http://zesty.ca/roundup.html.
Also added one missing image. Other images were committed some time ago.
website/www/olderdocs.txt
add link to new sc.txt
website/www/Makefile
copy the three docs and images to the published tree.
Tried to use html_extra conf.py parameter as is done in the docs
directory that creates share/docs/roundup/html as part of the release
process. But that results in the file going to the top level
directory of www.roundup.com and not to the docs subdirectory. There
seems to be no way to control this, so makefile cp rule for the win.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 05 Mar 2024 13:03:46 -0500 |
| parents | 022b7112c171 |
| children | f9eaaa63fda2 |
line wrap: on
line source
TMP := _tmp HTML := html .PHONY: help clean html linkcheck help: @echo "Please use \`make <target>' where <target> is one of" @echo " html to make standalone HTML files" @echo " linkcheck to check all external links for integrity" @echo " sourceforge_prod_sync sync html directory to sourceforce" @echo " production website" @echo " sourceforge_dev_sync sync html directory to sourceforce" @echo " /dev_docs subdirectory" @echo " clean remove all produced files" clean: -rm -rf $(TMP) $(HTML) docs COPYING.txt docs: ln -s ../../doc ./docs ln -s ../../COPYING.txt # after upgrade to sphinx 1.8.5, search.html is missing load of searchtools. # fix that in postprocess # also sed index.html to properly format meta og:... entries. html: docs rm -rf html mkdir -p $(TMP)/doctrees $(HTML) sphinx-build -n -W -b html -d $(TMP)/doctrees . $(HTML) # install searchtools.js into search page. grep 'searchtools.js' html/search.html || sed -i -e '/language_data.js/s#</script>#</script>\n <script type="text/javascript" src="_static/searchtools.js"></script>#' html/search.html # sphinx inserts \: for : in meta tags. Get rid of the \ in # opengraph tags sed -i -e '/<meta/s/og\\:/og:/' \ -e '/<meta/s/name="og:/property="og:/' html/index.html cp robots.txt html/robots.txt mkdir html/signatures && cp signatures/*.asc html/signatures cp --no-clobber -r docs/html_extra/. html/docs/. linkcheck: mkdir -p $(TMP)/linkcheck $(TMP)/doctrees sphinx-build -b linkcheck -d $(TMP)/doctrees . $(TMP)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in .build/linkcheck/output.txt." sourceforge_dev_sync: rsync -av html/. web.sourceforge.net:/home/project-web/roundup/htdocs/dev_docs/. sourceforge_prod_sync: read -p "sync to production y/N? " resp; echo "$$resp" | grep -i "^y" rsync -av html/. web.sourceforge.net:/home/project-web/roundup/htdocs/.
