Merge pull request #21277 from Ninosaurier/doc-update-disable-font
Update how-to-guides.md
This commit is contained in:
@@ -323,6 +323,7 @@ reusability
|
||||
Reusability
|
||||
roadmaps
|
||||
rollbar
|
||||
Roboto
|
||||
Rollbar
|
||||
Rollup
|
||||
routable
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user