Skip to content

Commit 7559e4b

Browse files
authored
[doc] upgrade deps (#47)
* Update .node-version * upgrade all versions * add detail for using token * also build inventree-federation * disable federation builds for now * update links
1 parent 995e8fd commit 7559e4b

File tree

6 files changed

+406
-1044
lines changed

6 files changed

+406
-1044
lines changed

doc-site/.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v19.7.0
1+
v22.11

doc-site/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ This site is based on Antora and automatically build by Cloudflare pages.
55
To build the site run
66
```bash
77
npx antora antora-playbook.yml
8+
```
9+
10+
Set `GIT_CREDENTIALS` to your GitHub token to access private repositories.
11+
```bash
12+
GIT_CREDENTIALS='https://my-github-token:@github.com,https://oauth2:[email protected]'
13+
npx antora antora-playbook.yml
814
```

doc-site/antora-playbook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ content:
1111
edit_url: '{web_url}/blob/{refname}/{path}'
1212
tags: [v*, '!v*a*','!v*b*']
1313
sources:
14-
#- url: https://github.com/invenhost/inventree-federation.git
15-
# branches: main, dev
16-
# start_path: docs
14+
# - url: https://github.com/invenhost/inventree-federation.git
15+
# branches: main, dev
16+
# start_path: docs
1717
- url: https://github.com/matmair/inventree-approval.git
1818
branches: main, dev
1919
start_path: docs

doc-site/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"dependencies": {
3-
"@antora/cli": "^3.1.5",
4-
"@antora/lunr-extension": "^1.0.0-alpha.8",
5-
"@antora/site-generator": "^3.1.5",
6-
"@asciidoctor/core": "^3.0.2",
3+
"@antora/cli": "^3.1.10",
4+
"@antora/lunr-extension": "^1.0.0-alpha.10",
5+
"@antora/site-generator": "^3.1.10",
6+
"@asciidoctor/core": "^3.0.4",
77
"asciidoctor-kroki": "^0.18.1"
88
},
99
"packageManager": "[email protected]",

doc-site/supplemental-ui/partials/header-content.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
</div>
1818
<div id="topbar-nav" class="navbar-menu">
1919
<div class="navbar-end">
20-
<a class="navbar-item" href="https://home.invenhost.com">Home</a>
20+
<a class="navbar-item" href="https://tools.invenhost.com">Tools</a>
2121
<div class="navbar-item has-dropdown is-hoverable">
2222
<a class="navbar-link" href="#">Plugins</a>
2323
<div class="navbar-dropdown">
24-
<a class="navbar-item" href="#">Approvals</a>
25-
<a class="navbar-item" href="#">Marketplaces</a>
26-
<a class="navbar-item" href="#">Suppliers</a>
24+
<a class="navbar-item" href="/inventree_approval/main/">Approvals</a>
25+
{{!-- <a class="navbar-item" href="#">Marketplaces</a>
26+
<a class="navbar-item" href="#">Suppliers</a> --}}
2727
</div>
2828
</div>
2929
<div class="navbar-item">
3030
<span class="control">
31-
<a class="button is-primary" href="https://invenhost.com">Index</a>
31+
<a class="button is-primary" href="https://invenhost.com">Website</a>
3232
</span>
3333
</div>
3434
</div>

0 commit comments

Comments
 (0)