Mercurial > p > roundup > code
view website/www/Makefile @ 7743:79779293d77b
doc: add reference to full email address and purpose for lists
Added purpose for lists to the mailing list table. Also added headers.
Some grammar fixups. Promote WebChat IRC interface over client
interface as many people don't have clients installed anymore 8-(.
Added a sentence that guides the user to the address of the mailing
list. I added this after getting an issue about a request that should
have gone to the mailing list. I realised there was no reference to
the mailing lists' domain: @lists.sourceforge.net on the contact page.
I think the linked subscribe page used to provide a hint, but it
doesn't look like it does anymore.
I wonder if we should add a mailto: link there? Does sphinx obscure it
enough to prevent bot spamming?
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 21 Feb 2024 12:38:05 -0500 |
| parents | 022b7112c171 |
| children | 2ab234484708 |
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 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/.
