Skip to content

Conversation

@kashish2210
Copy link
Member

@kashish2210 kashish2210 commented Mar 3, 2025

Update Documentation to Fix PandocMissing Error

Description

This PR updates docs/index.rst to include instructions for resolving the nbsphinx.NotebookError: PandocMissing error.

Changes Made

  • Added troubleshooting steps in docs/index.rst for missing Pandoc issues.

Checklist

  • Follows project documentation standards.
  • Verified correctness of updated instructions.

preview

insex_change

Notes

Let me know if any refinements are needed!

@ankitkhushwaha
Copy link
Contributor

can u mention which issue this pr addresses?

@kashish2210
Copy link
Member Author

kashish2210 commented Mar 3, 2025 via email

@ankitkhushwaha
Copy link
Contributor

@matteobachetti may give better review for this.

@matteobachetti
Copy link
Member

@kashish2210 thanks for your PR. However, pandoc is among the required dependencies to build the documentation, so this should never happen, and I don't think setup.py is the correct place to put this information. You might instead think about adding something about installing the required dependencies in the documentation itself where users typically read how to install the software: https://docs.stingray.science/en/stable/#building-the-documentation

@kashish2210
Copy link
Member Author

kashish2210 commented Mar 3, 2025

@matteobachetti Thank you for your feedback and clarification regarding the required dependencies. You're absolutely right—setup.py isn't the best place for this information.

I've now updated the documentation in docs/index.rst to include the necessary instructions for installing Pandoc, ensuring users can find the solution in the appropriate section. Additionally, while Pandoc is a required dependency,
I encountered this error because Pandoc wasn’t set to my system’s PATH, which some users might also experience.

Solution:

+ Install Pandoc from `pandoc.org <https://pandoc.org>`_ or `GitHub Releases <https://github.com/jgm/pandoc/releases/>`_.
+ Ensure Pandoc is in your system's PATH.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is os(Window) specific , in linux we dont used to setup this.

@kashish2210 kashish2210 closed this Mar 4, 2025
@kashish2210 kashish2210 reopened this Mar 4, 2025
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.

3 participants