Skip to main content

sphinxcontrib-getstart-sphinx is a collection of Sphinx extensions to build Sphinxをはじめよう 第2版 (Getting Started with Sphinx 2nd Edition).

This package provides following extensions:

sphinxcontrib.getstart_sphinx.better_docref

Append section numbers to each :doc: references.

sphinxcontrib.getstart_sphinx.column

Add column directive to note columns.

sphinxcontrib.getstart_sphinx.footnote_relocator

Move footnote definitions to the bottom of each sections.

sphinxcontrib.getstart_sphinx.glossary_decorator

Make terms of glossaries bold.

sphinxcontrib.getstart_sphinx.oreilly_review_table

Convert tables in Re:VIEW output to original notation for O’Reilly Japan internal tools.

Usage

To enable all extensions in this package, please add sphinxcontrib.getstart_sphinx to your extensions list in conf.py:

extensions = ['sphinxcontrib.getstart_sphinx']

If you want to enable specific extensions individually, please add its name to the list like bollow:

extensions = ['sphinxcontrib.getstart_sphinx.better_docref',
              'sphinxcontrib.getstart_sphinx.footnote_relocator']

Directives

You can use following directives:

column

A directive to note a column. It takes a title of column as an argument, and also takes body of column as content block.

Example:

.. column:: SphinxとPythonのバージョンの関係

   バージョン1.5以降、Sphinxを動作させるには2.7もしくは3.4以上の
   Pythonが必要です。
   そのため、古いPythonがインストールされるCentOS 6.x系などのディスト
   リビューションでは、最新のSphinxが利用できません。

Settings

You can configure following settings to arrange the behavior of the extension.

section_numbers:

A dict for mapping docname to section number text. This is used by better_docref extension to build a link title for document reference.

Example:

section_numbers = {
    'ch01': '第1章',
    'ch02': '第2章',
    'ch03': '第3章',
    'ch04': '第4章',
    'ch05': '第5章',
    'ch06': '第6章',
    'appendix/references': '付録A',
    'appendix/builders': '付録B',
    'appendix/quickstart': '付録C',
    'appendix/texlive': '付録D',
    'appendix/make_sh': '付録E',
    'appendix/markdown': '付録F',
    'appendix/community': '付録G',
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib-getstart-sphinx-1.2.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinxcontrib_getstart_sphinx-1.2.0-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sphinxcontrib-getstart-sphinx-1.2.0.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib-getstart-sphinx-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f2bd1e02db6bcde66208c8df6d3a2a4efb15ba7a6e8a65ad74ccbd640b012064
MD5 f4d8abe916fc9c95c294ec2c8b92e2d6
BLAKE2b-256 ad83bbcc25caa798792e0ebd55b839ccb97ff78587f5e9271ea4c5fb2ff25190

See more details on using hashes here.

File details

Details for the file sphinxcontrib_getstart_sphinx-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_getstart_sphinx-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd849df08be163d27c45ff9913a7bf6a5f3f1d0d9e5fd9b92ca81e9b88d6609e
MD5 25e0064cb28cb1ae0b664727959d59e7
BLAKE2b-256 108eaf2a33510b507335b59cc3bd40a8865d336a4e72d63441d5f68eac4b6725

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

1.1.0

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page