WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@stevepiercy
Copy link
Member

@stevepiercy stevepiercy commented Dec 3, 2025

@stevepiercy
Copy link
Member Author

Yay, it works! Please don't merge yet. I have a lot to fix here.

@coveralls
Copy link

coveralls commented Dec 3, 2025

Coverage Status

coverage: 98.214%. remained the same
when pulling 5f0e680 on rtd-build
into e95acc6 on master.

@stevepiercy
Copy link
Member Author

@datakurre I know nothing about nix. When I run tests locally on a single version of Python and Sphinx, they all pass. Can you help from this point forward?

@datakurre
Copy link
Collaborator

Yes. Thanks. It’s good for me learn these gaps. In theory, the setup should use uv.lock transpatently to support both worlds, but there are always devils in the details.

@datakurre
Copy link
Collaborator

@stevepiercy Thank you! Quite small changes to support both worlds. In short, nix environments are immutable, which disables some conveniences of the traditional tooling (but brings some benefits regarding reproducibility and security).

Also, there is something I forgot to complete, requiring PYTHONPATH=docs for docs of this package. Volto team has been wishing to be able to generate code examples along other http-examples. Therefore 2.0 includes support for custom example builder modules, which are currently only documented on how https://github.com/collective/sphinxcontrib-httpexample/blob/master/docs/plone_client.py is integrated into example docs...

@stevepiercy
Copy link
Member Author

@datakurre that's great to hear!

For the custom builder for JavaScript, yup, that was me, Victor, and the author @Hrittik20 who were pushing for it. Is there something that you'd like me to change for this? I'm not clear if you're asking for help, but I'm happy to do whatever is helpful. Thank you!

Copy link
Member Author

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Everything LGTM. I checked it out locally, and was able to run the make commands.

@datakurre
Copy link
Collaborator

For the custom builder for JavaScript, yup, that was me, Victor, and the author @Hrittik20 who were pushing for it. Is there something that you'd like me to change for this? I'm not clear if you're asking for help, but I'm happy to do whatever is helpful. Thank you!

Just heads up that it's there, but I've failed to continue with example and document it. 🙈

- Refactor build_plone_javascript_command to build_plone_client_command
- Expand documentation of custom builder
- Fix heading levels
@read-the-docs-community
Copy link

read-the-docs-community bot commented Dec 7, 2025

Documentation build overview

📚 sphinxcontrib-httpexample | 🛠️ Build #30597868 | 📁 Comparing 5f0e680 against latest (e95acc6)


🔍 Preview build

Show files changed (3 files in total): 📝 3 modified | ➕ 0 added | ➖ 0 deleted
File Status
custom.html 📝 modified
index.html 📝 modified
usage.html 📝 modified

@stevepiercy
Copy link
Member Author

@datakurre I'm still not absolutely clear what to do, but I made a few changes. The example is for @plone/client, so I refactored it accordingly, and added some docs.

Then I looked at the relevant issues and PRs, but I'm not sure what you have in mind.

@sneridagh @robgietema can you help fill in details of what you'd like to see?

Please let me know. Thank you!

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.

4 participants