Skip to content

Conversation

@bhanushaliparthhitesh
Copy link

@bhanushaliparthhitesh bhanushaliparthhitesh commented Jan 29, 2026

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

The navigation links in the documentation were centred by default, . This PR fixes the alignment issue by configuring the navbar to be left-aligned.

What does this PR do?

This PR adds the navbar_align: "left" configuration option to the PyData Sphinx Theme settings in docs/source/conf.py. This ensures that navigation links are left-aligned instead of centered, providing better visual consistency with the overall documentation layout.

References

Fixes : #224

How has this PR been tested?

  • Built the documentation locally using Sphinx
  • Verified that the navigation links now appear left-aligned in the rendered HTML output
  • Confirmed that no other functionality or styling has been affected

Is this a breaking change?

No, this is not a breaking change. This is a purely visual/styling update that does not affect any existing functionality or APIs.

Does this PR require an update to the documentation?

No documentation updates are required. This change only affects the visual presentation of the existing documentation, not its content or structure.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality (N/A for configuration changes)
  • The documentation has been updated to reflect any changes (N/A - visual change only)
  • The code has been formatted with pre-commit
    Before:
image image

After :
image
image

The images show the "before" and "after" states of the neuroinformatics-unit.github.io website. Although the changes originated there, they have been migrated to the python-cookiecutter repository. This allows for the implementation of these changes across the 10+ neuroinformatics websites.

@adamltyson
Copy link
Member

Hi @bhanushaliparthhitesh, thanks for this. This repo is a template though, so the changes also need to be made inside {{cookiecutter.package_name}}.

@bhanushaliparthhitesh
Copy link
Author

bhanushaliparthhitesh commented Jan 29, 2026

@adamltyson I've made the necessary changes within the {{cookiecutter.package_name}} folder. Could you provide some guidance on the expected footer changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frontend Feature Enhancements

2 participants