Merge pull request #21277 from Ninosaurier/doc-update-disable-font

Update how-to-guides.md
This commit is contained in:
Fredrik Adelöw
2023-12-04 12:12:44 +01:00
committed by GitHub
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -504,6 +504,18 @@ folder (/docs) or replace the content in this file.
Done! You now have support for TechDocs in your own software template!
### Prevent download of Google fonts
If your Backstage instance does not have internet access, the generation will fail. TechDocs tries to download the Roboto font from Google. You can disable it by adding the following lines to mkdocs.yaml:
```yaml
theme:
name: material
font: false
```
> Note: The addition `name: material` is necessary. Otherwise it will not work
## How to enable iframes in TechDocs
TechDocs uses the [DOMPurify](https://github.com/cure53/DOMPurify) library to