mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #1286, #2099: Add `sphinx.ext.autosectionlabel` extension to allow reference sections using its title
This commit is contained in:
4
tests/roots/test-ext-autosectionlabel/conf.py
Normal file
4
tests/roots/test-ext-autosectionlabel/conf.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
extensions = ['sphinx.ext.autosectionlabel']
|
||||
master_doc = 'index'
|
||||
25
tests/roots/test-ext-autosectionlabel/index.rst
Normal file
25
tests/roots/test-ext-autosectionlabel/index.rst
Normal file
@@ -0,0 +1,25 @@
|
||||
=========================
|
||||
test-ext-autosectionlabel
|
||||
=========================
|
||||
|
||||
|
||||
Introduce of Sphinx
|
||||
===================
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
For Windows users
|
||||
-----------------
|
||||
|
||||
For UNIX users
|
||||
--------------
|
||||
|
||||
|
||||
References
|
||||
==========
|
||||
|
||||
* :ref:`Introduce of Sphinx`
|
||||
* :ref:`Installation`
|
||||
* :ref:`For Windows users`
|
||||
* :ref:`For UNIX users`
|
||||
Reference in New Issue
Block a user