charybdis-ircd / charybdis

Scalable IRCv3.2 server for large, community-oriented networks
GNU General Public License v2.0
231 stars 102 forks source link

convert SGML guide to RST #241

Closed anarcat closed 7 years ago

anarcat commented 7 years ago

the rationale behind switching away from SGML/Docbook is the following:

the reason why RST was chosen:

the reason why Markdown was not chosen:

the docs were converted with Pandoc, using the following commands:

mkdir oper-guide
for source in sgml/oper-guide/*.sgml; do
    pandoc --toc -s -f docbook -t rst $source -o oper-guide/$(basename $source .sgml).rst
done
cd oper-guide
sphinx-quickstart
git add *.rst make.bat conf.py
git add -f Makefile
git rm -r ../sgml
anarcat commented 7 years ago

result should look like this, more or less: http://anarcat-charybdis.readthedocs.io/en/rst-guide/

anarcat commented 7 years ago

i created a charybdis project on RTD to build those docs automatically in https://readthedocs.org/projects/charybdis/

however, it has trouble syncing webhooks here, which means it's not automatic just yet. this is probably because i don't have the right credentials, which was reported against rtd.org here: https://github.com/rtfd/readthedocs.org/issues/2746

i would be happy to grant developers here access to the docs project, let me know what your RTD username is and I'll add you.

anarcat commented 7 years ago

now the build is fixed:

http://charybdis.readthedocs.io/en/latest/