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
Refactor metadata extraction #1278
Comments
This is interesting for ipynb too... notebooks can have metadata where we could post meta info... |
One concern is that to get the metadata we need to parse the thing. So, we may need to cache the intermediate representation (like the doctree in rst) |
We already have Its performance is not perfect (we read files twice), but that’s fixable too if it’s a concern. |
Ok, so if I implemented read_metadata in, say, the reSt compiler, that would do things. I may take a shot at it. |
For #1923, perhaps? (feel free to take it over, I didn’t get much stuff done for that) |
Yes, that too. We could even use yaml metadata or whatever. |
There are now metadata extractors in the reSt, markdown and ipynb compilers. I say, let's close. |
Parts of it can be refactored into format-specific extractors (in the compiler plugins) which would get it from places like the docutils document metadata.
The text was updated successfully, but these errors were encountered: