Skip to content

Commit 17d7551

Browse files
committed
Restructuring of documentation.
1 parent 7ca359c commit 17d7551

File tree

243 files changed

+3394
-18737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+3394
-18737
lines changed

libs/network/doc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
PAPER =
8-
BUILDDIR = build
8+
BUILDDIR = _build
99

1010
# Internal variables.
1111
PAPEROPT_a4 = -D latex_paper_size=a4

libs/network/doc/_ext/adjusts.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from sphinx.writers import html as sphinx_htmlwriter
2+
3+
class CppNetlibHTMLTranslator(sphinx_htmlwriter.SmartyPantsHTMLTranslator):
4+
"""
5+
cpp-netlib-customized HTML transformations of documentation. Based on
6+
djangodocs.DjangoHTMLTranslator
7+
"""
8+
9+
def visit_section(self, node):
10+
node['ids'] = map(lambda x: "cpp-netlib-%s" % x, node['ids'])
11+
sphinx_htmlwriter.SmartyPantsHTMLTranslator.visit_section(self, node)

0 commit comments

Comments
 (0)