Skip to content

Conversation

@m-aciek
Copy link
Collaborator

@m-aciek m-aciek commented Nov 19, 2025

  • Added related projects page.
  • Change title to Documentation Translations – we lost the docs part from the URL, let's add it in the header.

Closes #146.


πŸ“Š Dashboard preview πŸ“Š: https://python-docs-translations.github.io/dashboard/158/merge/

@StanFromIreland
Copy link
Member

IMO, this is better suited for a "What are some other projects I can contributed to?" (or similar) Q&A in the FAQ in the devguide.

<a href="./">
<img src="logo.png" style="height: 2rem;" alt="Python logo">
<span style="font-size: 1.25rem; font-weight: 700; color: #4a4a4a">Translation Dashboard</span>
<span style="font-size: 1.25rem; font-weight: 700; color: #4a4a4a">Documentation Translations</span>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will now cause wrapping on small screens, e.g.:

Image

So, I'd suggest either adding CSS that centres the hamburger, or maybe just "Docs Translations"?

generate.py Outdated
related = env.get_template('related.html.jinja').render()

Path('build/style.css').write_bytes(Path('src/style.css').read_bytes())
Path('build/logo.png').write_bytes(Path('src/logo.png').read_bytes())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated thought: use shutil.copyfile('src/logo.png', 'build/logo.png')

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, 3.14 allows us to stay with pathlib for the copy, let's try to switch to 3.14? πŸ‘€

Copy link
Collaborator

@merwok merwok Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use a Path object when there is no path manipulation at all? The string paths are already in the source; use shutil and let the kernel do the copy of bytes instead of Python πŸ™‚

(This is extremeley minor relative to the times of cloning and building.)

@m-aciek
Copy link
Collaborator Author

m-aciek commented Nov 19, 2025

IMO, this is better suited for a "What are some other projects I can contributed to?" (or similar) Q&A in the FAQ in the devguide.

In my opinion it would be wasting the visibility opportunity, to hide other projects in the devguide. I personally would like this dashboard to aspire to be a homepage for Python ecosystem translation contributors. I think some visitors (by the domain only) would expect to see such information here.

@StanFromIreland
Copy link
Member

image

We now have both.

@m-aciek
Copy link
Collaborator Author

m-aciek commented Nov 19, 2025

We now have both.

Ah, dots in class names 🀦

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.

Add related projects

4 participants