-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
ENH: add next and prev metadata #317
Comments
Something to work on while @DrDrij is here? |
hey @DrDrij I think we can fix this pretty easily on the Can you let me know what you need as the metadata format
|
@mmcky That looks perfect. Access to title and link is all I need. |
@DrDrij can I give you the following meta data sample? "metadata": {
"date": 1591752665.62833,
"filename": "about_py.rst",
"kernelspec": {
"display_name": "Python",
"language": "python3",
"name": "python3"
},
"next_doc": {
"link": "getting_started",
"title": "Setting up Your Python Environment"
},
"prev_doc": {
"link": "index_learning_python",
"title": "Introduction to Python"
},
"title": "About Python"
}, this should be:
it will be convenient to not have |
I can work with that :) |
last question - if there is no missing metadata (i.e. no previous_doc as a key in the notebook metadata) |
the current "metadata": {
"date": 1591753649.837961,
"filename": "index.rst",
"kernelspec": {
"display_name": "Python",
"language": "python3",
"name": "python3"
},
"next_doc": {
"link": "index_toc",
"title": "Table of Contents"
},
"title": "Python Programming for Economics and Finance"
}, |
That works @mmcky - I will enter an if clause to check whether prev/next exist. |
Currently we don't pass
next
andprev
document metadata. This is something used a lot in coresphinx
themes.The text was updated successfully, but these errors were encountered: