Skip to content

Commit 3bd5561

Browse files
committed
re-generate with doxygen
1 parent f9624a5 commit 3bd5561

File tree

7 files changed

+40
-10
lines changed

7 files changed

+40
-10
lines changed

.github/workflows/publish-github-pages.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,21 @@ jobs:
8383
- name: Install dependencies
8484
run: (cd website; npm ci)
8585

86+
- name: Install Doxygen
87+
# https://www.doxygen.nl/download.html
88+
env:
89+
DOXYGEN_VERSION: "1.13.2"
90+
run: |
91+
curl https://www.doxygen.nl/files/doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz --output doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz
92+
tar xf doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz
93+
ls -l doxygen-$DOXYGEN_VERSION
94+
mkdir -pv website/doxygen/.local/bin
95+
ln -sv $(pwd)/doxygen-$DOXYGEN_VERSION/bin/doxygen website/doxygen/.local/bin/doxygen
96+
ls -lLA website website/doxygen
97+
98+
- name: Build the Doxygen site
99+
run: (cd website/doxygen; .local/bin/doxygen config.doxyfile)
100+
86101
- name: Build the Docusaurus site
87102
run: (cd website; npm run build)
88103

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
},
6161
"topConfig": {
6262
"descriptiveName": "µOS++ Intrusive Lists",
63-
"permalinkName": "utils-lists"
63+
"permalinkName": "utils-lists",
64+
"useDoxygen": "true"
6465
},
6566
"engines": {
6667
"node": " >=18.0.0"

website/docs/_common/_branches-details.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The project uses multiple branches:
1111
- `master`, not actively used
1212
- `xpack`, with the latest stable version (default)
1313
- `xpack-development`, with the current development version
14-
- `master`, with the current content of the website; pushes to this branch automatically trigger publishes the main website
14+
- `website`, with the current content of the website; pushes to this branch automatically trigger publishes the main website
1515
- `development`, with the current content of the preview website; pushes to this branch automatically trigger publishes the preview website
1616

1717
All development is done in the `xpack-development` branch, and contributions via

website/docs/_common/_publish-website.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
### Publish the website
77

88
The website deployment is performed automatically when pushing to the
9-
`master` branch, by a dedicated workflow in
9+
`website` branch, by a dedicated workflow in
1010
[GitHub Actions](https://github.com/micro-os-plus/utils-lists-xpack/actions/workflows/publish-github-pages.yml).
1111

1212
- open https://micro-os-plus.github.io/utils-lists-xpack/docs/maintainer/#publish-the-website in a separate window
1313
- stop the local web server
14-
- switch to the `master` branch
15-
- **merge** the `xpack-development` branch into the `master` branch
16-
- **push** the `master` branch to GitHub
14+
- switch to the `website` branch
15+
- **merge** the `xpack-development` branch into the `website` branch
16+
- **push** the `website` branch to GitHub
1717
:::info
1818
At this moment an automated GitHub Action will generate and publish the website.
1919
:::
@@ -25,7 +25,7 @@ in https://micro-os-plus.github.io/utils-lists-xpack/blog/
2525
- remember the post URL, since it must be used to update the release page
2626
and the X/Twitter announcement
2727

28-
The `master` branch may be subsequently updated, as long as the
28+
The `website` branch may be subsequently updated, as long as the
2929
version in `package.json` is not changed.
3030

3131
Check the result at https://micro-os-plus.github.io/utils-lists-xpack/.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11

22
{/* ------------------------------------------------------------------------ */}
3+
4+
### Re-generate the Doxygen pages
5+
6+
Run the **doxygen** npm script:
7+
8+
```sh
9+
npm run doxygen -C website
10+
```
11+
12+
For the moment the doxygen program must be installed on the host,
13+
it is not available as an xpm dependency.
14+
15+
With the current configuration, the static html pages are generated
16+
in the `website/static/reference` folder.

website/docs/maintainer/_common/_check-git.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In the `micro-os-plus/utils-lists-xpack` Git repo:
1010
- switch to the `xpack-development` branch
1111
- pull new changes
1212
- if necessary, **merge** the `xpack` branch
13-
- if necessary, **merge** the `master` branch
13+
- if necessary, **merge** the `website` branch
1414

1515
:::caution
1616

website/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const config: Config = {
6969
sidebarPath: './sidebars.ts',
7070
// Please change this to your repo.
7171
// Remove this to remove the "edit this page" links.
72-
editUrl: 'https://github.com/micro-os-plus/utils-lists-xpack/edit/master/website/',
72+
editUrl: 'https://github.com/micro-os-plus/utils-lists-xpack/edit/website/website/',
7373
// showLastUpdateAuthor: true,
7474
showLastUpdateTime: true,
7575
},
@@ -86,7 +86,7 @@ const config: Config = {
8686
},
8787
// Please change this to your repo.
8888
// Remove this to remove the "edit this page" links.
89-
editUrl: 'https://github.com/micro-os-plus/utils-lists-xpack/edit/master/website/',
89+
editUrl: 'https://github.com/micro-os-plus/utils-lists-xpack/edit/website/website/',
9090
// Useful options to enforce blogging best practices
9191
onInlineTags: 'warn',
9292
onInlineAuthors: 'warn',

0 commit comments

Comments
 (0)