File: documentation.md

package info (click to toggle)
linkchecker 10.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,132 kB
  • sloc: python: 13,154; makefile: 134; sh: 71; xml: 36; sql: 20; javascript: 19; php: 2
file content (63 lines) | stat: -rw-r--r-- 1,398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
LinkChecker Documentation
=========================

LinkChecker is documented with man pages and HTML that is used for the project web site.
Both are generated using Sphinx, with Makefiles provided to simplify the process.

Sources are found in doc/src. Stand-alone .rst files from doc/ are also included.

In addition to Sphinx the dependencies for building the documentation are:

graphviz

sphinx_epytext

sphinx_rtd_theme

sphinx_sitemap

Configuration
-------------

Before building either man pages or HTML, generate ``linkcheck/_release.py``
containing copyright, author and version with:

``hatchling build -t sdist --hooks-only``


Man Pages
---------

Source files are in doc/src/man.

The pages can be built with:

``linkchecker/doc $ make man``

The files are saved in doc/man.

See translations.md for information about creating localised man pages.

Published man pages are included in the LinkChecker repository.


HTML
----

Build the HTML files with:

``linkchecker/doc $ make html``

The files are saved in doc/html.


Publishing the Web Site
-----------------------

The Web Site is hosted by GitHub Pages from the gh-pages branch.

A ``.nojekyll`` file is present to ensure folders beginning with an underscore
are published.

When updates to LinkChecker are pushed, the web site is built and published
automatically by a GitHub action ``.github/workflows/publish-pages.yml``.