mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
- Make all code blocks look like code blocks. - Eliminate nested inline formatting (rST doesn't support it: http://docutils.sourceforge.net/FAQ.html#is-nested-inline-markup-possible). - Punctuation nits. (imported from commit cd0d780d843b72065678e0f032a2a47d44836adc) |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| code-style.rst | ||
| conf.py | ||
| html_unescape.py | ||
| index.rst | ||
| Makefile | ||
| README.md | ||
To create rST from MediaWiki input:
- Use
pandoc -r mediawiki -w rston MediaWiki source. - Use unescape.py to remove any leftover HTML entities (often inside
tags and the like).
We can use pandoc to translate mediawiki into reStructuredText, but some things need fixing up:
- Add page titles.
- Review pages for formatting (especially inline code chunks) and content.
- Fix wiki links?
- Add pages to the table of contents (
index.rst).
To generate HTML docs locally from RST:
pip install sphinx- In this directory,
make html. Output appears in a_build/htmlsubdirectory.