Repository navigation
Conversation
d0ugal
force-pushed
the
refactor-markdown-loading
branch
2 times, most recently
from
August 15, 2015 15:43
60082aa to
b2ad246
Compare
Contributor
Author
There was a problem hiding this comment.
This needs to be completed.
d0ugal
force-pushed
the
refactor-markdown-loading
branch
5 times, most recently
from
August 15, 2015 20:56
b6c9ba9 to
94752e9
Compare
This intentionally breaks the tests to keep the change small, the impact on the test suite is far winder spread than on the internal code. This really highlights flaws in our testing as so many of the different tests are bound to the internals of this one area.
d0ugal
force-pushed
the
refactor-markdown-loading
branch
from
August 15, 2015 21:18
94752e9 to
5e28e43
Compare
Contributor
|
I'm reopening this as we need to address this and there is no specific issue open to track it. I've add the "update needed" label to remind us that the current code in his PR needs work. |
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Mar 17, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Tests still need updated.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Mar 20, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Tests still need updated.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Mar 24, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
pushed a commit
to waylan/mkdocs
that referenced
this pull request
Mar 24, 2017
See: https://github.com/waylan/docdata Refactor Markdown handling. All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
pushed a commit
to waylan/mkdocs
that referenced
this pull request
Mar 24, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
added a commit
that referenced
this pull request
Mar 24, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in #713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in #713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes #713.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Sep 28, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Sep 28, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Sep 28, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
added a commit
to waylan/mkdocs
that referenced
this pull request
Sep 28, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in mkdocs#713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in mkdocs#713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes mkdocs#713.
waylan
added a commit
that referenced
this pull request
Oct 1, 2017
All Markdown handling is now contained within the `Page` object, which external code no longer needs to know the internals of. A slightly different approach to the work started in #713. Include the multimarkdown meta-data parser from docdata See: https://github.com/waylan/docdata Tests have been updated. However, as noted in #713, they could use some refactoring. The existing tests all pass. We can leave refactoring as a seperate matter from this. Closes #713.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looking again at this work I started in #627 to try and push forward some much needed internal re-factoring.
If you want to review this, the second commit had all the internal updates and is the interesting one. The first just includes a dependency and the last updates all the tests so they match the internal changes.
The general goal here is to load the Markdown files much earlier in the process and split the markdown from the metadata. This then means the metadata is more widely available as an attribute of the Page object, and thus the metadata for a page is available to other pages during the build.
TODO: