Skip to content

Commit

Permalink
Merge pull request #628 from molgenis/feat/make-docs-part-of-627
Browse files Browse the repository at this point in the history
feat: make docs part of application
  • Loading branch information
clemens-tolboom authored Feb 12, 2024
2 parents 056a02c + e82e6ab commit a8e572a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/developer_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,17 @@ docsify serve ./docs
```

## View
```
http://localhost:3000
```

## Github pages

We have this configured through github pages instead of custom actions:

- https://github.com/molgenis/molgenis-service-armadillo/settings/pages

You can check its status on:

- https://github.com/molgenis/molgenis-service-armadillo/actions

And view the result on http://localhost:3000
1 change: 1 addition & 0 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</head>
<body>
<div id="app"></div>
<div class="row">
<script type="module" src="/src/main.ts"></script>
</body>
</html>
1 change: 1 addition & 0 deletions ui/public/_docs/master
9 changes: 9 additions & 0 deletions ui/src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
Armadillo portal <small class="text-secondary">{{ version }}</small>
</a>
<form class="d-flex mt-1">
<span>
<a
type="button"
class="btn btn-dark"
href="/_docs/master/index.html"
target="_blank"
><i class="bi bi-book"></i> Docs</a
>
</span>
<span class="navbar-text p-2" v-show="username"
><i class="bi bi-person-fill"></i> {{ username }}
</span>
Expand Down

0 comments on commit a8e572a

Please sign in to comment.