Customization
APIdocs was created for documenting our software products at Carrot Search, so its customization options are limited. You can still customize the basic things like site logo, footer and add your own CSS.
Site logo
Site logo is by default read from src/logo.html
. Contents of
this file will be inserted in the site's logo place holder in the upper
left corner of the page. The file must contain valid HTML, there can be
one or more tags on the first level, you can also use SVG.
You can style your logo either by inline CSS styles in
src/logo.html
or by editing
src/styles/custom.css
.
In development mode, all changes to the logo HTML will be applied in real time to the site preview.
Custom CSS
You can place extra CSS styles in src/styles/custom.css
. You
can use that file to style logo and footer as well as tweak the appearance
of the whole site.
The CSS file will be processed by Webpack running inside Gatsby, so you can use all Webpack magic, like importing webfonts directly from npm dependencies.
In development mode, all changes to the custom CSS will be applied in real time to the site preview.