mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
add show docs link to config
This commit is contained in:
@@ -203,10 +203,10 @@ For improved SEO and social sharing, you can use a Cloudflare Worker to dynamica
|
||||
|
||||
### index.json
|
||||
|
||||
|
||||
```json
|
||||
{
|
||||
"defaultPage": "home",
|
||||
"showDocsLink": true,
|
||||
"metadata": {
|
||||
"title": "Site Title",
|
||||
"description": "Site description",
|
||||
@@ -226,6 +226,8 @@ For improved SEO and social sharing, you can use a Cloudflare Worker to dynamica
|
||||
}
|
||||
```
|
||||
|
||||
The `showDocsLink` option controls whether a "Docs" link is shown in the UI navigation. Set to `false` to hide it.
|
||||
|
||||
The build process generates the documents part for `index.json`
|
||||
## Contributing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user