yalantinglibs/website
qicosmos 4f4b010bcc
[metric][feat]improve metrics (#692)
2024-06-14 16:55:12 +08:00
..
.vitepress/config [new feature]Add metrics (#674) 2024-06-07 23:15:51 +08:00
docs [metric][feat]improve metrics (#692) 2024-06-14 16:55:12 +08:00
doxy [website] refactor website and docs (#263) 2023-04-17 11:18:03 +08:00
.gitignore [website] refactor website and docs (#263) 2023-04-17 11:18:03 +08:00
Doxyfile [doc] add coro_rpc doc (#681) 2024-05-24 10:58:27 +08:00
Doxyfile_cn [doc] add coro_rpc doc (#681) 2024-05-24 10:58:27 +08:00
README.md [no ci] fix doc (#684) 2024-05-24 12:13:38 +08:00
generate.sh [no ci] fix doc (#682) 2024-05-24 11:25:26 +08:00
package.json [website] refactor website and docs (#263) 2023-04-17 11:18:03 +08:00
yarn.lock [website] refactor website and docs (#263) 2023-04-17 11:18:03 +08:00

README.md

Build Website

The website is built by vitepress and doxygen and you can build the website in your own computer

Before build the website, git, yarn, node are required.

  • clone the repo
git clone https://github.com/alibaba/yalantinglibs.git
  • checkout doc branch
cd yalantinglibs
git checkout doc
  • clone doxygen-awesome-css (for Doxygen)
https://github.com/jothepro/doxygen-awesome-css.git
  • install dependencies for vitepress
yarn install
  • generate website
bash generate.sh

the script will copy all markdown files and images to website folder

then use yarn docs:build and doxygen Doxyfile generate html

some logs

yarn run v1.22.19
$ vitepress build website
vitepress v1.0.0-alpha.29
✓ building client + server bundles...
⠋ rendering pages...(node:77603) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✓ rendering pages...
build complete in 11.86s.
✨  Done in 12.95s.
Doxygen version used: 1.9.6
...
...
...
Running plantuml with JAVA...
type lookup cache used 63/65536 hits=63 misses=63
symbol lookup cache used 106/65536 hits=1267 misses=106
finished...
Done!

the config of vitepress is website/.vitepress/config/index.ts

the config of doxygen is Doxyfile and Doxyfile_cn