Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): remove hash routes in documentation #914

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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