Portal Styles
You can publish custom styles defined in the Gramax desktop application to your documentation portal.
Only styles configured within the desktop application can be published.
Open the space folder in your file explorer (it contains catalogs and the
workspace.yamlfile).Copy the files located in
.workspace\assets.Set the path to these files on the documentation portal:
For a portal: add the files to the portal data folder:
when installed with Docker Compose — to the server folder specified by the
ROOT_PATHvariable;when installed with Helm — to the portal persistent storage, which is the
/app/datafolder in the container. For details, see Deploy with Helm.
For a static site: pass the
--custom-css(-cc) flag with the path to the styles file during the build. For example:gramax-cli build --custom-css ./styles/portal.css # short form gramax-cli build -cc ./styles/portal.css