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
Doesn't have a title: no link will be generated #310
Comments
This seems related to: https://stackoverflow.com/questions/55297443/including-of-notebook-with-nbsphinx-fails |
Here is a minimal example: minimal_nbsphinx.zip Please run using Relevant error: |
For those that run into this again, Here is a minimal working notebook: {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Test"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
} The most relevant component being: "source": [
"# Test"
] All notebooks need a markdown section with a title! |
I know this issue is closed, but I get still get the error above. Even if my notebooks contains titles. My index.rst contains of
I wrote documentation for predict step with markdown and code examples:
.....
The train and evaluate scripts only contains a title and one line of markdown.
If I build the documenation I get the following warnings:
But the |
@TCACastelijns Do you get any other warnings? This sounds a bit like #549 which was fixed in #552 and released in |
@mgeier : Thanks for this hint. Indeed I also got the long line warning:
I upgraded to |
For those who are still running into this, you also need to make sure that |
@jetheurer I am facing exactly the same issue as discussed here. Currently I have I tried to add title to the files by opening them in TextEdit app and added like:
However it has not worked. If I use
However, One other clarification: How does a Notebook file miss out on adding the Title in the file if that is so important an element? A guidance would be much appreciated. |
@pique-b Please note that the term "title" is ambiguous here. It does not mean the It means the title in the sense of "the first section title of the page". The Pandoc error is unrelated, maybe you have to add it to the PATH? Even if you have it installed, the Python installer might still not be able to find it. |
I have an issue where the following warning comes up:
Where example is the name of my notebook
example.ipynb
and this is the command I run:
python3 -m sphinx -b html -j 4 docs/source/ $BUILD
When looking at the generated files, I dont get the link to example in my documentation.
My toctree looks like this:
To clarify, the html file: example.html builds, but the link in index.rst is dropped.
The text was updated successfully, but these errors were encountered: