Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What advantages/disadvantages are there to having both a wiki view and a Sphinx view? #5

Open
westurner opened this issue Dec 13, 2014 · 1 comment
Labels
Milestone

Comments

@westurner
Copy link
Owner

Advantages

Challenges / Disadvantages

  • New wiki pages created through the GitHub wiki interface add the .rest suffix, rather than .rst
    • Sort of an advantage (.rest files are docutils-only)
    • This precludes inclusion of the wiki pages into a standard Sphinx docset as a submodule or subtree.
  • Sphinx ReStructuredText is a superset of GitHub ReStructuredText (docutils), so Sphinx markup is, in the best case not supported, and in the worst case breaks the wiki render
    • Notably: :ref:, .. index:, and .. toctree:: are only supported by Sphinx
    • To test this: make rst2html_all
  • Double Tables of Contents (Why are there two Tables of Contents in the Sphinx renders? #4)
  • Double pulls and pushes (make pull push): https://github.com/westurner/wiki/blob/master/Makefile
  • Sphinx requires a manual build step in order to publish in-progress changes
@westurner
Copy link
Owner Author

From a given source .rest file:

There's the GitHub wiki view, which does not add a TOC sidebar, necessitating an explicit .. contents:: directive.

And there's the gh-pages Sphinx-rendered view, which does have TWO Tables of Contents (see: #4):

@westurner westurner modified the milestone: FAQ Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant