Search code examples
pythongithubrestructuredtextdocutils

Is it possible to reconcile github and docutils buildhtml?


Github will parse a reStructuredText file if its extension is .rst. The docutils buildhtml.py will only parse files with the extension .txt, and I can't see an option to change that. This is massively annoying. Is there any way to get Github to recognise .txt files as RST or buildhtml to recognise .rst files?


Solution

  • Perhaps you can just use a symlink?