Skip to content

Commit 9b850f0

Browse files
authored
Merge pull request #106 from cortex-docs/docs/readme-primary-color
docs: show primaryColor in README configuration
2 parents b5e165c + 55140f5 commit 9b850f0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ project: my-api
129129
title: My API Docs
130130
logo: ./assets/logo.svg
131131
theme: system
132+
primaryColor: '#ffffff'
132133
custom_head_html: |-
133134
<meta name="theme-color" content="#ffffff">
134135
<link rel="stylesheet" href="/assets/custom.css">
@@ -172,6 +173,8 @@ mcp:
172173
package_name: '@my-org/my-api-mcp'
173174
```
174175
176+
`primaryColor` sets the documentation accent color as a six-digit hex value.
177+
175178
`custom_head_html` adds trusted HTML to every documentation page. This field supports metadata, stylesheets, and analytics scripts.
176179

177180
Store local head resources in the project `assets` directory. Cortex serves these files from `/assets/*`.

0 commit comments

Comments
 (0)