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

[Doc] No syntax highlighting for Python in Doxygen #7632

Closed
stwunsch opened this issue Mar 22, 2021 · 3 comments · Fixed by #7638
Closed

[Doc] No syntax highlighting for Python in Doxygen #7632

stwunsch opened this issue Mar 22, 2021 · 3 comments · Fixed by #7638
Assignees
Labels

Comments

@stwunsch
Copy link
Contributor

We are missing syntax highlighting for Python code blocks in Doxygen, see the snippet from the RDataFrame docs below:

Screenshot 2021-03-22 at 09 12 19

Afaik, the code block is correctly tagged with the language:

https://github.com/root-project/root/blob/master/tree/dataframe/src/RDataFrame.cxx#L447

@stwunsch stwunsch added the bug label Mar 22, 2021
@github-actions github-actions bot added this to Needs triage in Triage Mar 22, 2021
@vepadulano
Copy link
Member

I tried with ~~~{.py} on my local machine and it rendered the python blocks with highlighted syntax. It's still is quite poorly done compared to the cpp blocks, but I think that's just how doxygen does it

@vepadulano
Copy link
Member

If you want I can open a PR with the changes

@stwunsch
Copy link
Contributor Author

Ah nice, so it's the wrong keyword 😬 Thanks for pointing this out! I'll take care of it :)

@couet couet assigned stwunsch and unassigned couet Mar 22, 2021
stwunsch added a commit to stwunsch/root that referenced this issue Mar 22, 2021
Triage automation moved this from Needs triage to Closed Mar 23, 2021
stwunsch added a commit that referenced this issue Mar 23, 2021
nicknagi pushed a commit to nicknagi/root that referenced this issue Mar 30, 2021
@hahnjo hahnjo added this to Issues in Fixed in 6.26/00 via automation Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants