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

Plugin pages should have a title with the name of the plugin #24

Open
adrianog opened this issue Jul 20, 2024 · 3 comments
Open

Plugin pages should have a title with the name of the plugin #24

adrianog opened this issue Jul 20, 2024 · 3 comments

Comments

@adrianog
Copy link

e.g. https://plugins.geany.org/addons.html
There is an image but no "Addons Plugin" title.

@elextr
Copy link
Member

elextr commented Jul 20, 2024

The titles are missing for all plugins, but they are present in the README files, so as I said on geany/geany#868 (comment) this should be opened on the plugins.geany.org repository.

@elextr elextr transferred this issue from geany/geany-plugins Jul 20, 2024
@dmaphy
Copy link
Member

dmaphy commented Jul 20, 2024

To avoid any confusion: As far as I understand we're talking about the initial heading in the content which is missing, not the HTML title, which funnily enough is there.

The generation of the HTML happens here: https://github.com/geany/plugins.geany.org/blob/master/gencontent.sh#L188

This feels like we're not really able to have impact on the behavior since the job is completely done by rst2html. The only option I see is to play around with the - really old - rst2html_config.conf. I will look into this as soon as I find some time, which is quite spare for me currently.

Any suggestions or pull requests are welcome.

@elextr
Copy link
Member

elextr commented Jul 21, 2024

Maybe its something to do with this since all plugins have "a unique adornment style at the beginning of the document." being = underlined. Since the plugin name is therefore in the title, not a <h1> in the content, I suspect (but havn't checked) it won't be copied into the resulting page by the script that plugs the README.html into the final page with the navigation sidebar etc.

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

No branches or pull requests

3 participants