Skip to content

Restore rich Sphinx contributing doc, link from GitHub-Markdown doc#392

Merged
mfisher87 merged 1 commit intogeojupyter:mainfrom
mfisher87:restore-rich-contributing-doc
Jan 27, 2025
Merged

Restore rich Sphinx contributing doc, link from GitHub-Markdown doc#392
mfisher87 merged 1 commit intogeojupyter:mainfrom
mfisher87:restore-rich-contributing-doc

Conversation

@mfisher87
Copy link
Member

@mfisher87 mfisher87 commented Jan 27, 2025

Description

Keeps a CONTRIBUTING doc at the root of the repo, but it now links to our rich contributing documentation in ReadTheDocs!

Enables us to do important things like cross-link to the contributing documentation from other documentation.

Related discussions:

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--392.org.readthedocs.build/en/392/
💡 JupyterLite preview: https://jupytergis--392.org.readthedocs.build/en/392/lite

@mfisher87 mfisher87 added the documentation Improvements or additions to documentation label Jan 27, 2025
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch mfisher87/jupytergis/restore-rich-contributing-doc

@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2025

Integration tests report: appsharing.space

@mfisher87
Copy link
Member Author

please update snapshots

🤷

@mfisher87 mfisher87 closed this Jan 27, 2025
@mfisher87 mfisher87 reopened this Jan 27, 2025
- This may be caused by having a `.gitignore` file in your home directory.
This is a [known issue with Nx](https://github.com/nrwl/nx/issues/27494).
The [only known workaround](https://github.com/nrwl/nx/issues/27494#issuecomment-2481207598) is to remove the `.gitignore` file from your home directory or to work in a location outside of the home directory tree.
Please check out [our documentation's contributing guide](https://jupytergis.readthedocs.io/en/latest/contributing.html).
Copy link
Member

@arjxn-py arjxn-py Jan 27, 2025

Choose a reason for hiding this comment

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

Thanks @mfisher87, I'm happy with this, keeping in mind that we've #251 open which will allow both - rich Sphinx and contributing doc rendered on github too hopefully.
I'd be happy to know what @brichet thinks about the same before we go forward :)

Copy link
Member Author

@mfisher87 mfisher87 Jan 27, 2025

Choose a reason for hiding this comment

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

Even with MyST, I don't know that we can achieve rich online docs that are also available in rich format on GitHub either with includes or with symlinks just because of path issues 😭 For example:

.
├── CONTRIBUTING.md
└── docs
    ├── contributing.md
    ├── thing2.md
    └── thing.md

CONTRIBUTING.md would need to link to thing2.md like [link](/docs/thing2.md), but docs/contributing.md would link to the same document with [link](/thing2.md). It's an implicit behavior we'd have to always keep in mind; in other repos where I saw this, contributors kept making mistakes with links because they weren't aware of these tradeoffs with the document was being included from outside the documentation dorectory.

Also, GitHub won't support any Sphinx plugins we use to add special directives like tabs that give the documentation a more logical flow!

Copy link
Member Author

Choose a reason for hiding this comment

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

We should not keep this snapshot change; I see that the scale indicator at the bottom is incorrect.

Copy link
Member

Choose a reason for hiding this comment

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

image

Posting a snapshot just in case, since it's not accessible anymore

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you @arjxn-py !

@mfisher87 mfisher87 force-pushed the restore-rich-contributing-doc branch from 51bc331 to b2fbbff Compare January 27, 2025 18:41
@mfisher87
Copy link
Member Author

Merging this PR since it definitely didn't cause the snapshot change. I'll open an issue!

@mfisher87 mfisher87 merged commit 14c68fc into geojupyter:main Jan 27, 2025
28 of 30 checks passed
@mfisher87 mfisher87 deleted the restore-rich-contributing-doc branch January 27, 2025 19:02
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants