All Projects → dldl → sphinx-server

dldl / sphinx-server

Licence: MIT license
Sphinx documentation Docker image with Python server and support for PlantUML and more.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to sphinx-server

sphobjinv
Toolkit for manipulation and inspection of Sphinx objects.inv files
Stars: ✭ 53 (-14.52%)
Mutual labels:  sphinx, sphinx-doc
sphinx rtd dark mode
Adds a toggleable dark mode to the Read the Docs theme for Sphinx.
Stars: ✭ 29 (-53.23%)
Mutual labels:  sphinx, sphinx-doc
MapServer-documentation
Source repository for the MapServer documentation, for the live website. Please submit pull requests to the 'main' branch.
Stars: ✭ 29 (-53.23%)
Mutual labels:  sphinx, sphinx-doc
sphinx-theme
(Deprecated) Make Sphinx docs look like MDN
Stars: ✭ 27 (-56.45%)
Mutual labels:  sphinx, sphinx-doc
Readthedocs.org
The source code that powers readthedocs.org
Stars: ✭ 6,802 (+10870.97%)
Mutual labels:  sphinx, sphinx-doc
sphinxcontrib-django
This is a sphinx extension which improves the documentation of Django apps.
Stars: ✭ 37 (-40.32%)
Mutual labels:  sphinx, sphinx-doc
panda3d-docs
Sphinx documentation for Panda3D
Stars: ✭ 37 (-40.32%)
Mutual labels:  sphinx, sphinx-doc
gui-python-gtk
Repositório criado para documentar e centralizar conteúdos, dicas, tutoriais e exemplos de código sobre a construção de interfaces com a linguagem de programação Python (PyGObject) e o toolkit gráfico Gtk 4.
Stars: ✭ 85 (+37.1%)
Mutual labels:  sphinx, sphinx-doc
pygments-pytest
A pygments lexer for pytest output
Stars: ✭ 23 (-62.9%)
Mutual labels:  sphinx
vscode-markdown-editor
A vscode extension to make your vscode become a full-featured WYSIWYG markdown editor
Stars: ✭ 249 (+301.61%)
Mutual labels:  graphviz
noflo-graphviz
NoFlo visualization tools for GraphViz
Stars: ✭ 14 (-77.42%)
Mutual labels:  graphviz
symbiflow-docs
FOSS Flow For FPGA
Stars: ✭ 163 (+162.9%)
Mutual labels:  sphinx
swagger2puml
Generate Class Diagrams (UML) for Given Swagger Definition
Stars: ✭ 43 (-30.65%)
Mutual labels:  graphviz
sphinxcontrib-hdl-diagrams
Sphinx Extension which generates various types of diagrams from Verilog code.
Stars: ✭ 37 (-40.32%)
Mutual labels:  sphinx
Graphvizer
Preview Graphviz in real time with Sublime Text 3
Stars: ✭ 74 (+19.35%)
Mutual labels:  graphviz
nmap-formatter
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot). Simply put it's nmap converter.
Stars: ✭ 129 (+108.06%)
Mutual labels:  graphviz
sphinx-toolbox
Box of handy tools for Sphinx 🧰 📔
Stars: ✭ 55 (-11.29%)
Mutual labels:  sphinx
choldgraf.github.io
Website
Stars: ✭ 33 (-46.77%)
Mutual labels:  sphinx
lolviz.js
A faithful (albeit optimized) port of Terence Parr List of Lists Visualization library, https://github.com/parrt/lolviz from Python to Javascript.
Stars: ✭ 18 (-70.97%)
Mutual labels:  graphviz
digraph-parser
Java parser for digraph DSL (Graphviz DOT language)
Stars: ✭ 38 (-38.71%)
Mutual labels:  graphviz

Sphinx-Server

Sphinx-Server allows you to build Sphinx documentation using a Docker image based on Alpine.

Build Status Docker pulls Docker layers Docker automated build

Functionnalities:

  • Sphinx documentation served by a python server
  • UML support with PlantUML
  • dot support with Graphviz
  • Autobuild with sphinx-autobuild
  • HTTP authentication

Limitations:

  • This image is not bundled with LaTeX but you can generate .tex files and compile them outside of the container

Installation

With Docker Hub

Pull the image from Docker Hub using:

docker pull dldl/sphinx-server

If you only want to compile files without using the server, you can use the following command (for example) at the root of your documentation:

docker run -t -v "$(pwd)":/web dldl/sphinx-server make html

From source

Clone this repository on your computer and build the image using the following command:

docker build -t dldl/sphinx-server .

Usage

You may add a .sphinx-server.yml file at the root of your project documentation if you want to use a custom configuration. You can see the default .sphinx-server.yml in this repository that will be used if you don't add yours.

Container creation

Without autobuild (production mode):

If you want to enable HTTP authentication, just add a .sphinx-server.yml file at the root of your project documentation and add a credentials section. You also need to set autobuild to false.

Run the following command at the root of your documentation:

docker run -itd -v "$(pwd)":/web -p 8000:8000 --name sphinx-server dldl/sphinx-server

With autobuild enabled:

Autobuild is enabled by default. You may add folders and files to the ignore list.

Run the following command at the root of your documentation:

docker run -itd -v "$(pwd)":/web -u $(id -u):$(id -g) -p 8000:8000 --name sphinx-server dldl/sphinx-server

The web server will be listening on port 8000. All the files in the current directory will be mounted in the container.

Interacting with the server

  • To stop the server, use docker stop sphinx-server
  • To start the server, use docker start sphinx-server
  • To remove the server, use docker rm -v sphinx-server

You can use the following command to open a shell into the container:

docker exec -it sphinx-server /bin/sh

You can then run commands like make html to build the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].