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

Fix handling of priority value on Inventory instantiation #153

Merged
merged 4 commits into from
Nov 13, 2020

Conversation

bskinn
Copy link
Owner

@bskinn bskinn commented Nov 11, 2020

Ended up generalizing, such that priority can be any non-empty string devoid of whitespace. Updated docs and added tests.

Closes #147.

Also add custom MDN inventory with non-integer priority values.

Fixes #147
Much improved with the additional information about the constraints
on the various fields, and I think much more readable with the
line dividers.

New inventory should test arbitrary `priority` content pretty well,
though who knows if there are weird edge cases.

Also fixed the make.bat `livehtml` invocation (was missing a '%'
to close out %BUILDDIR%).
In the case that Sphinx/intersphinx *were* to impose some
constraints on the field.
@bskinn bskinn merged commit bae54d3 into master Nov 13, 2020
@bskinn bskinn deleted the fix-priority branch November 13, 2020 11:30
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.

DataObjStr permits to set invalid priority
1 participant