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

[Feature Request]: Rewrite core.R in Python #25

Open
3 tasks done
cicdguy opened this issue Oct 8, 2024 · 0 comments
Open
3 tasks done

[Feature Request]: Rewrite core.R in Python #25

cicdguy opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cicdguy
Copy link
Contributor

cicdguy commented Oct 8, 2024

Feature description

Ideally we want to use XML parsing to inject the HTML dropdown list in the navbar. This is a cleaner approach as compared to doing full text parsing as it leads to errors if styles/formatting change with different versions of pkgdown.

The core.R script needs to be rewritten with XML parsing instead of full text parsing. core.R contains all the core logic for creating the dropdown lists, where to insert the dropdowns and what files to modify.

Note that many programming languages can be used for this (Perl, Python, Awk, XMLLint etc) but given that Python contains xml as a standard library, that would be a preference.

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
@cicdguy cicdguy added the enhancement New feature or request label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant