Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic docs to show on Pulp website #107

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

pedro-psb
Copy link
Member

@pedro-psb pedro-psb commented Oct 18, 2024

Hey @himdel and @ZitaNemeckova !

I'm just adding the basic structure to this.
Along with this pulp-docs PR, it will make pulp-ui README.md (relative symlink) to show in the documentation website under https://pulpproject.org/pulp-ui/. To stop publishing it, just revert that in pulp-docs.

If you decide to setup some changelog tool, pulp-docs will add a CHANGES.md (expected to be in the root) to the docs.

I guess because the UI is supposed to be intuitive, you might not need too much docs, but if you want you can create specific docs under docs/users/, docs/admin/ or docs/dev/ to address specific audiences.

The new docs also proposes using diataxis categories to help organize the purpose of some content (e.g in pulpcore).

Anyway, you can ping me for any doc-related stuff!

@himdel
Copy link
Collaborator

himdel commented Oct 18, 2024

Sounds great, thanks! :)

Right now, the only changelog we have is the autogenerated one in https://github.com/pulp/pulp-ui/releases,
but I suspect we may need to filter out dependabot PRs from the list for it to be really useful as a changelog,
maybe also set up some category labels and filter out changes invisible to users...

And good tips, I suspect docs may take a while yet to evolve, but I expect we'll have to document things once we start trying to support different forms of authentication and such :).

@pedro-psb
Copy link
Member Author

Right now, the only changelog we have is the autogenerated one in https://github.com/pulp/pulp-ui/releases,
but I suspect we may need to filter out dependabot PRs from the list for it to be really useful as a changelog,
maybe also set up some category labels and filter out changes invisible to users...

We use towncrier for that in pulp plugins. Basically you create a changes-file like CHANGES/123.bugfix, which is {associated-issue}.{category}) and write a user-friendly message there. The advantage is that we already have config/scripts for that.

There are also entirely commit-based tools which looks simple to setup and use, like https://git-cliff.org/. There might be some js packges too.

I can work on this when when we decide what technology to use.

@himdel
Copy link
Collaborator

himdel commented Oct 18, 2024

Well, towncrier is too heavy-handed, I don't think we should rely on people manually creating CHANGES/* files,
but we can try looking for a git based tool that doesn't require special commit message formats :).

What format of CHANGES.md do you actually need? (What does it split the versions on? Is it \n\n----\n?)

@himdel
Copy link
Collaborator

himdel commented Oct 19, 2024

Maybe something like #114 would work for CHANGES.md for now?

@pedro-psb
Copy link
Member Author

I will respond there

@himdel himdel merged commit 2ca9901 into pulp:main Oct 21, 2024
1 of 2 checks passed
@pedro-psb pedro-psb deleted the add-docs branch October 21, 2024 17:11
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.

2 participants