Skip to content

Conversation

@sfarajnia
Copy link

Tables of contents are well written and structured the notebooks in a nice manner.
However, the content of the notebook would be more user-friendly if there would be "back to top" link beside the titles inside the notebook.
I've added "back-to-top" links to python notebook (Basics, Object Oriented Programming and Modular Programming)

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@MahtabRanjbar
Copy link
Collaborator

Writing "Back to top" for each subtopic does not seem very nice. I think it is better to use the relevant icon instead of writing "back to top".

@sfarajnia
Copy link
Author

Writing "Back to top" for each subtopic does not seem very nice. I think it is better to use the relevant icon instead of writing "back to top".

Good idea! I will replace text with an icon.

@sfarajnia
Copy link
Author

sfarajnia commented Dec 11, 2021

Writing "Back to top" for each subtopic does not seem very nice. I think it is better to use the relevant icon instead of writing "back to top".

hi, again. @MahtabRanjbar
I've updated all notebooks and added ICONS for "back to top" links.
This is a screenshot from one of the titles of the advanced folder. The "blue top_arrow", if clicked, goes to the table of contents:
image

@MahtabRanjbar
Copy link
Collaborator

@sfarajnia
good job. I think you also feel it has a nicer and cleaner structure now.

@hejazizo
Copy link
Collaborator

After putting some thought into this, I think we should not do this manually.

You can simply write a code to add the link to a jupyter notebook file cause it's basically a json file.
You should add a cell at the end of it that contains a back to top link.

@arf1372
Copy link

arf1372 commented Jan 30, 2022

After putting some thought into this, I think we should not do this manually.

I don't get what your point is. Having a "back to top" link besides each heading would be nice-to-have (actually, I don't use them but someone may find it useful).

You can simply write a code to add the link to a jupyter notebook file cause it's basically a json file. You should add a cell at the end of it that contains a back to top link.

Also, I don't understand what you mean by mentioning ipynb files are just jsons.

@CLAassistant
Copy link

CLAassistant commented Aug 30, 2022

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 4 committers have signed the CLA.

✅ hejazizo
❌ Ali
❌ MahtabRanjbar
❌ sfarajnia


Ali seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

5 participants