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.

  1. Open the space folder in your file explorer (it contains catalogs and the workspace.yaml file).

  2. Copy the files located in .workspace\assets.

  3. Set the path to these files on the documentation portal:

    1. For a Docker portal: add the files to the server folder specified by the ROOT_PATH variable in Docker Compose.

    2. 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