Skip to content

Conversation

@gaborbernat
Copy link
Member

This is the first pass.

Signed-off-by: Bernát Gábor [email protected]

Copy link
Member

@jugmac00 jugmac00 left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

I had a first pass - mostly from the GitHub ui, and only occasionally on the rendered docs - I will have another one when the PR is finished.

Apart from my inline comments, you certainly noticed that building the documentation is currently broken to an changed anchor in the pytest documentation.

Speaking of the pytest documentation, have you noticed that they restructured their documentation to follow https://diataxis.fr/ documentation framework? (not a technical framework, but a way to structure your docs).

Our documentation looks good, but maybe you have a time to have a look at diataxis whether you like it.

e.g. our faq is not really a faq as I have not seen too many people asking for customizing virtualenv creation - currently our faq is more like a place to put stuff which does not fit anywhere else.

In diataxis these would be all "how-tos". Our user-guide would be a tutorial, configuration, tox cli interface and API would go in a reference section, and so on...

If we ever would plan to restructure the documentation now would be a great time.

Oh - and I think we need a What's new in tox version4 page - with all highlights.

Name of the Python dependencies as specified by `PEP-440`_. Installed into the environment prior to project after
environment creation, but before package installation. All installer commands are executed using the :ref:`tox_root`
as the current working directory.
Name of the Python dependencies. Installed into the environment prior to project after environment creation, but
Copy link
Member

Choose a reason for hiding this comment

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

Installed into the environment prior to project after environment creation

I do not understand this sentence. Maybe "after" should be removed? Or even "project after" should be removed?

We should rephrase this sentence.

Or does it mean...

"Installed into the environment prior to project creation, after environment creation,"

If so.. I'd prefer some repetition (the word creation) to make the sentence more clear.

Comment on lines +26 to +27
Here we use an environment substitution to set the index URL if not set by the user, but otherwise default to our target
URI.
Copy link
Member

Choose a reason for hiding this comment

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

This sounds a bit complicated... maybe something like: "We define a default index URL, but user can override the value" .. something like that...

requires = ["hatchling>=0.22", "hatch-vcs>=0.2"]
By default tox will create and install a source distribution. You can configure to build a wheel instead by setting
the :ref:`package` configuration to ``wheel``. Wheels are much faster to install than source distributions.
Copy link
Member

Choose a reason for hiding this comment

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

This ref might not be correct. When following, I do not see how to set package to wheel.

Ah, ok... it goes to the wrong #package anchor.

Advanced features
-----------------

tox supports these features that 90 percent of the time you'll not need, but are very useful the other ten percent.
Copy link
Member

Choose a reason for hiding this comment

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

I think this line does not add any value to our documentation.

Copy link
Member

@jugmac00 jugmac00 left a comment

Choose a reason for hiding this comment

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

some more comments

@jugmac00
Copy link
Member

jugmac00 commented May 31, 2022

It looks like cpython is also adopting the Diátaxis framework for documentation:
https://discuss.python.org/t/adopting-the-diataxis-framework-for-python-documentation/15072

https://diataxis.fr/how-to-use-diataxis/
https://diataxis.fr/

I think it would be a great idea to also adopt it.

@gaborbernat
Copy link
Member Author

I'm not against it, but until we have availability for someone (mostly me in the first phase) to work on it, it doesn't really matter 😆

@gaborbernat
Copy link
Member Author

One thing I've learned part of the diatrixis framework is to not do big bang release. Considering that we'll merge this as is and do smaller follow-up PRs to make it diatrixis.

gaborbernat and others added 6 commits October 24, 2022 21:39
This is the first pass.

Signed-off-by: Bernát Gábor <[email protected]>
Co-authored-by: Jürgen Gmach <[email protected]>
Signed-off-by: Bernát Gábor <[email protected]>
@gaborbernat gaborbernat marked this pull request as ready for review October 25, 2022 04:51
@gaborbernat gaborbernat merged commit c97e0b8 into tox-dev:rewrite Oct 25, 2022
@gaborbernat gaborbernat deleted the docs branch October 25, 2022 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants