Skip to content

Commit

Permalink
docs: set stories page as iframe in mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 20, 2023
1 parent b0970a7 commit 8a9eddb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/visual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- markdownlint-disable -->
<style>
.full-width-iframe {
width: 100vw;
height: 100vh;
border: none;
}
</style>

<!-- Hide title -->
<h1></h1>

<iframe class="full-width-iframe" src="https://hotosm.github.io/ui/stories">
</iframe>
<!-- markdownlint-enable -->
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ nav:
- Home: index.md
- Components:
- Example: components/example.md
- Visual: stories/index.html
- Visual: visual.md
- License: LICENSE
- Changelog: CHANGELOG.md

0 comments on commit 8a9eddb

Please sign in to comment.