Numerical experiments, Tips, Tricks and Gotchas
Creating a static website with Sphinx
1. Introduction
Sphinx [1], [2] , [3]
is a documentation tool originally created for documenting Python projects.
Recently I got the idea that Sphinx can be used as a static website generator.
A quich Google search revealed that I was not alone. This subject was discussed at Stack Overflow [4]
and Quora [5].
I decided to collect the links to the existing approaches rather than to reinvent the wheel.
2. Direct use of Sphinx
There are several posts about using Sphinx as a static webpage generator:
- Sphinx as a Static Site Generator [6]
- Template Driven Websites with Sphinx [7]
- Create a personal website with Sphinx [8]
- How to use Sphinx to build your website [9]
3. Sphinx based website generators
Tinkerer is a blogging engine/static website generator powered by Sphinx
[10].
4. Hosting
4.1. Readthedocs
Documentation using Sphinx and ReadTheDocs.org [11] .
4.2 GitHub
- How to upload html documentation generated from sphinx to github? [12]
- Sphinx documentation on GitHub [13]
- Automatic Github Pages generation from Sphinx documentation [14]
- Publishing sphinx-generated docs on github [15]
- Create a developer documentation with sphinx and githube [16]
4.3. Bitbucket
This undocumented Bitbucket Pages feature allows to host simple HTML web pages from a Bitbucket repositories
[17].
4.4. PythonAnywhere
PythonAnywhere Forums. How do to host a static page [
18].
Setting up Pelican on PythonAnywhere [
19].
References
- Sphinx (documentation generator)
- Sphinx overview
- Sphinx documentation denerator - Links
- Using Sphinx to write personal websites and blogs
- What's the best available static blog/website generator in Python?
- Amit Saha, Sphinx as a Static Site Generator
- Daniel Rocco, Template Driven Websites with Sphinx
- Shichao An, Create a personal website with Sphinx
- Jeroen Leijen, How to use Sphinx to build your website
- Tinkerer - Blogging for Pythonistas
- Documentation using Sphinx and ReadTheDocs.org
- How to upload html documentation generated from sphinx to github?
- Ben Welsh, Sphinx documentation on GitHub
- Nikhil, Automatic Github Pages generation from Sphinx documentation
- Publishing sphinx-generated docs on github
- Create a developer documentation with sphinx and github
- John Ankarström, Bitbucket Pages
- PythonAnywhere Forums. How do to host a static page
- Setting up Pelican on PythonAnywhere
© Nikolai Shokhirev, 2012-2024
email: nikolai(dot)shokhirev(at)gmail(dot)com