Skip to content

Commit

Permalink
Merge pull request #914 from stevapple/no-hash
Browse files Browse the repository at this point in the history
fix(web): remove hash routes in documentation
  • Loading branch information
randombenj authored Oct 30, 2024
2 parents 8895096 + 8609139 commit 4aa67d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ docatl push docs.zip awesome-project 1.0.0 --host http://localhost:8000

Any file type can be uploaded. To view an uploaded pdf, specify it's full path:

`http://localhost:8000/#/awesome-project/1.0.0/my_awesome.pdf`
`http://localhost:8000/awesome-project/1.0.0/my_awesome.pdf`

You can also manually upload your documentation.
A very simple web form can be found under [upload](#/upload).
A very simple web form can be found under [upload](/upload).

#### Tag documentation

Expand Down
6 changes: 3 additions & 3 deletions web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function Home(): JSX.Element {
<Tooltip title="Upload Documentation" placement="right" arrow>
<IconButton
sx={{ marginLeft: 2, height: '46px', width: '46px', marginTop: '2px'}}
href="/#/upload"
href="/upload"
>
<FileUpload></FileUpload>
</IconButton>
Expand All @@ -108,7 +108,7 @@ export default function Home(): JSX.Element {
<Tooltip title="Claim a Project" placement="right" arrow>
<IconButton
sx={{ marginLeft: 2, height: '46px', width: '46px', marginTop: '2px'}}
href="/#/claim"
href="/claim"
>
<Lock></Lock>
</IconButton>
Expand All @@ -117,7 +117,7 @@ export default function Home(): JSX.Element {
<Tooltip title="Delete a project version" placement="right" arrow>
<IconButton
sx={{ marginLeft: 2, height: '46px', width: '46px', marginTop: '2px'}}
href="/#/delete"
href="/delete"
>
<Delete></Delete>
</IconButton>
Expand Down

0 comments on commit 4aa67d1

Please sign in to comment.