这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 612fa08

Browse files
Added: Start termux docs support
The documentation will be added under `/docs` directory. We use `default` layout for docs, otherwise by default page title will be added to each page due to usage of `pages` layout.
1 parent da7edad commit 612fa08

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ commonmark:
3535
options: ["GITHUB_PRE_LANG", "FOOTNOTES"]
3636
extensions: ["strikethrough", "autolink", "table", "tagfilter"]
3737

38+
defaults:
39+
-
40+
scope:
41+
path: "docs"
42+
values:
43+
layout: "default"
44+
3845
feed:
3946
categories:
4047
- general

_includes/header.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
</label>
1818

1919
<div class="trigger">
20+
<a class="page-link" href="/docs">Docs</a>
2021
<a class="page-link" href="/posts">Posts</a>
2122
<a class="page-link" href="https://packages.termux.dev">Packages</a>
2223
<a class="page-link" href="/donate">Donate</a>

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Termux Docs
2+
3+
Welcome to documentation for Termux.
4+

0 commit comments

Comments
 (0)