Skip to content

Commit e7b422e

Browse files
committed
docs: Split into multiple pages
This mostly reverts commit 4c8deae. We now have enough documentation to warrant separate pages and the RTD theme works better with them. We keep the "Usage" and "Release Notes" sections so any anchors pointing here are not broken (though the same cannot be said of any links to subcommands). The copyright year is updated. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 0c1ef48 commit e7b422e

File tree

5 files changed

+29
-6
lines changed

5 files changed

+29
-6
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
source_suffix = '.rst'
3232

3333
# The master toctree document.
34-
master_doc = 'index'
34+
master_doc = 'contents'
3535

3636
# General information about the project.
3737
project = u'git-pw'
38-
copyright = u'2017, Stephen Finucane'
38+
copyright = u'2018, Stephen Finucane'
3939
author = u'Stephen Finucane'
4040

4141
# The version info for the project you're documenting, acts as replacement for

docs/contents.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Contents
2+
========
3+
4+
.. toctree::
5+
6+
index
7+
usage
8+
release-notes

docs/index.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
git-pw (Patchwork subcommand for Git)
22
=====================================
33

4+
Overview
5+
--------
6+
47
.. include:: ../README.rst
58
:start-line: 19
9+
:end-line: 33
10+
11+
.. include:: ../README.rst
12+
:start-line: 34
613
:end-line: -7
714

815
Usage
916
-----
1017

11-
.. click:: git_pw.shell:cli
12-
:prog: git-pw
13-
:show-nested:
18+
See :doc:`usage`.
1419

1520
Release Notes
1621
-------------
1722

18-
.. release-notes::
23+
See :doc:`release-notes`.

docs/release-notes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Release Notes
2+
=============
3+
4+
.. release-notes::

docs/usage.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Usage
2+
=====
3+
4+
.. click:: git_pw.shell:cli
5+
:prog: git-pw
6+
:show-nested:

0 commit comments

Comments
 (0)