Skip to content

Fix documentation page routing #31

@chriscarrollsmith

Description

@chriscarrollsmith

If you navigate to https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/, you are routed to the Architecture page. This also happens if you click the app title on the top navbar. This is a side-effect of the fact that I put the .qmd files in the docs/ folder, so quarto can't determine which page is the homepage (because it usually looks for index.qmd in the project root). I'm not entirely sure how to fix this.

  1. We could move index.qmd to the project root, though I'd prefer not to.
  2. We may be able to put an index.qmd in the project root that redirects to docs/index.qmd? But I am not sure how to do this.
  3. Is there a Quarto setting to designate the homepage and/or change relative paths from source to target?
  4. Is there a Quarto setting to change the target of the link at the top of the page?

Research in https://quarto.org/docs/get-started/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions