ProjectPythia / ProjectPythia/projectpythia.github.io

Should the links from our navigation bar be relative?

Open
#263 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infrastructure
Dominant language
Python
Stars
36
Forks
25
Avg merge
3d 16h
Merged PRs (30d)
2

Description

Many (all) of the links from our top level navigation bar menu items, such as the one under Community below, are full URLs (not relative links). Hence previewing locally as described in our contributors guide here is not possible: the link takes you to the production site.

https://github.com/ProjectPythia/projectpythia.github.io/blob/57407bfc5c38208f3a85d9a3ef8d80a4657ea4fb/portal/conf.py#L103

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at portal/conf.py around line 103 and inspect how the top-level navigation links, including Community, are assembled. Reproduce the local preview issue using the contributors guide, then verify that navigation stays within the local preview rather than going to the production site.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.