Update docs building
This commit is contained in:
parent
c01ba154d0
commit
3da59ac9d3
3 changed files with 5 additions and 4 deletions
4
Makefile
4
Makefile
|
|
@ -35,5 +35,5 @@ test:
|
|||
|
||||
docs:
|
||||
@sphinx-build -a docs/source docs/build
|
||||
@rm -r man8
|
||||
@cd docs && make man && mv build/man ../man8
|
||||
@cd docs && make man
|
||||
@awk 'NR==33{print ".SH DESCRIPTION"}7' docs/build/man/snap-pac.8 > man8/snap-pac.8
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ do:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
sphinx-build docs/source docs/build
|
||||
make docs
|
||||
|
||||
The resulting html documentation will then be located at ``docs/build/index.html``.
|
||||
Additionally, this generates the manpage which will be located under ``man8``.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.\" Man page generated from reStructuredText.
|
||||
.
|
||||
.TH "SNAP-PAC" "8" "Mar 14, 2021" "" "snap-pac"
|
||||
.TH "SNAP-PAC" "8" "Mar 28, 2021" "" "snap-pac"
|
||||
.SH NAME
|
||||
snap-pac \- Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue