mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-09 07:28:43 +00:00
Add DocForge documentation site
This commit is contained in:
3
docs/content/customization/index.md
Normal file
3
docs/content/customization/index.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Customizing Your Site
|
||||
|
||||
Site settings live in `config.yaml`. You can change the title, logo, colors, and enable features like analytics or multi-language support.
|
13
docs/content/customization/plugins.md
Normal file
13
docs/content/customization/plugins.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Writing Plugins
|
||||
|
||||
Create JavaScript modules in the `plugins/` directory. Export hook functions such as `onParseMarkdown` or `onPageRendered` to modify the build.
|
||||
|
||||
Example:
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
onPageRendered: async ({ html }) => {
|
||||
return { html: html + '\n<!-- custom -->' };
|
||||
}
|
||||
};
|
||||
```
|
Reference in New Issue
Block a user