Debian Codegraph @

debian/patches/debian-hacks/docs-Adjust-embedded-HTML-for-local-browsing.patch

raw
1 From: Colin Watson <[email protected]>
2 Date: Thu, 26 Dec 2024 14:18:23 +0000
3 Subject: docs: Adjust embedded HTML for local browsing
4
5 See
6 https://www.mkdocs.org/user-guide/writing-your-docs/#linking-from-raw-html.
7
8 Forwarded: not-needed
9 ---
10 docs/index.md | 22 +++++++++++-----------
11 1 file changed, 11 insertions(+), 11 deletions(-)
12
13 diff --git a/docs/index.md b/docs/index.md
14 index f796a05..cf42b95 100644
15 --- a/docs/index.md
16 +++ b/docs/index.md
17 @@ -14,8 +14,8 @@ configuration file. Start by reading the [introductory tutorial], then check the
18 [User Guide]: user-guide/README.md
19
20 <div class="text-center">
21 -<a href="getting-started/" class="btn btn-primary" role="button">Getting Started</a>
22 -<a href="user-guide/" class="btn btn-primary" role="button">User Guide</a>
23 +<a href="getting-started.html" class="btn btn-primary" role="button">Getting Started</a>
24 +<a href="user-guide/index.html" class="btn btn-primary" role="button">User Guide</a>
25 </div>
26
27 <div class="pt-2 pb-4 px-4 my-4 bg-body-tertiary rounded-3">
28 @@ -27,14 +27,14 @@ configuration file. Start by reading the [introductory tutorial], then check the
29 <div class="card-body">
30 <h3 class="card-title">Great themes available</h3>
31 <p class="card-text">
32 - There's a stack of good looking <a href="user-guide/choosing-your-theme">themes</a> available for MkDocs.
33 + There's a stack of good looking <a href="user-guide/choosing-your-theme.html">themes</a> available for MkDocs.
34 Choose between the built in themes:
35 - <a href="user-guide/choosing-your-theme/#mkdocs">mkdocs</a> and
36 - <a href="user-guide/choosing-your-theme/#readthedocs">readthedocs</a>,
37 + <a href="user-guide/choosing-your-theme.html#mkdocs">mkdocs</a> and
38 + <a href="user-guide/choosing-your-theme.html#readthedocs">readthedocs</a>,
39 select one of the third-party themes
40 (on the <a href="https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes">MkDocs Themes</a> wiki page
41 as well as the <a href="https://github.com/mkdocs/catalog#-theming">MkDocs Catalog</a>),
42 - or <a href="dev-guide/themes/">build your own</a>.
43 + or <a href="dev-guide/themes.html">build your own</a>.
44 </p>
45 </div>
46 </div>
47 @@ -45,13 +45,13 @@ configuration file. Start by reading the [introductory tutorial], then check the
48 <h3 class="card-title">Easy to customize</h3>
49 <p class="card-text">
50 Get your project documentation looking just the way you want it by
51 - <a href="user-guide/customizing-your-theme/">customizing your
52 + <a href="user-guide/customizing-your-theme.html">customizing your
53 theme</a> and/or installing some <a
54 - href="user-guide/configuration/#plugins">plugins</a>. Modify
55 + href="user-guide/configuration.html#plugins">plugins</a>. Modify
56 Markdown's behavior with <a
57 - href="user-guide/configuration/#markdown_extensions">Markdown
58 + href="user-guide/configuration.html#markdown_extensions">Markdown
59 extensions</a>. Many <a
60 - href="user-guide/configuration/">configuration options</a> are
61 + href="user-guide/configuration.html">configuration options</a> are
62 available.
63 </p>
64 </div>
65 @@ -79,7 +79,7 @@ configuration file. Start by reading the [introductory tutorial], then check the
66 <p class="card-text">
67 MkDocs builds completely static HTML sites that you can host on
68 GitHub Pages, Amazon S3, or <a
69 - href="user-guide/deploying-your-docs/">anywhere</a> else you
70 + href="user-guide/deploying-your-docs.html">anywhere</a> else you
71 choose.
72 </p>
73 </div>