Skip to content

Fix handling of priority value on Inventory instantiation#153

Merged
bskinn merged 4 commits intomasterfrom
fix-priority
Nov 13, 2020
Merged

Fix handling of priority value on Inventory instantiation#153
bskinn merged 4 commits intomasterfrom
fix-priority

Conversation

@bskinn
Copy link
Copy Markdown
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