-
Notifications
You must be signed in to change notification settings - Fork 53
RHIDP-2135: README update #1335
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
3d2fc87
f5b4ac2
ff4b91d
24d4e35
718c78a
17116b2
6d01b87
7abf1e0
b406848
291b2ff
722ae3d
46d413c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,126 @@ | ||
# Red Hat Developer Hub documentation | ||
|
||
This repo is the upstream mirror of https://gitlab.cee.redhat.com/red-hat-developers-documentation/rhdh | ||
This is a repo for Red Hat Developer (RHDH) documentation. | ||
|
||
Contribute to this repo and merged changes will be synced to gitlab for build with Pantheon. | ||
## Contributing | ||
|
||
Contribute to this repo to add new and edit existing RHDH documentation published on the link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/[Red Hat Documentation page]. | ||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
Before submitting a PR, create a Jira issue associated with your contribution to this repo: | ||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
. In the link:https://issues.redhat.com/secure/RapidBoard.jspa?rapidView=17575&projectKey=RHIDP[Red Hat Internal Developer Platform (RHIDP) Jira project], click *Create*. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is incorrect: contributors should distinguish between 3 Jira projects: https://issues.redhat.com/projects/RHDHBUGS - For issues related to the existing content. |
||
. In the *Description* field, describe your contribution. | ||
. In the *Component/s* field, select *Documentation* from the drop-down list. | ||
. Save the created Jira issue. | ||
|
||
[IMPORTANT] | ||
==== | ||
RHDH release notes are single-sourced from the *Release Notes Text* field in the Jira. | ||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
If you want to make changes to release notes, you must make them in Jira. | ||
Check the link:https://docs.google.com/document/d/1X2CrrU9K3ZqbxN7DXmU6P1mY7inLD32qs3rpOUHz6Vw/edit?tab=t.0#heading=h.yqxd252ryhua[RHDH Release Notes process document] for more information. | ||
==== | ||
|
||
## Style and formatting | ||
|
||
All contributions are in AsciiDoc. | ||
|
||
Make sure your writing follows the rules | ||
listed in link:https://www.ibm.com/docs/en/ibm-style[IBM Style] and link:https://redhat-documentation.github.io/supplementary-style-guide/[Red Hat supplementary style guide]. | ||
|
||
[NOTE] | ||
==== | ||
If the IBM Style and the Red Hat supplementary style guide offer conflicting solutions, | ||
the Red Hat supplementary style guide solution overrides IBM Style. | ||
==== | ||
|
||
Follow the link:https://redhat-documentation.github.io/modular-docs/[Modular documentation reference guide] | ||
to modularize your content. | ||
|
||
## Building locally | ||
|
||
. Install `asciidoctor` - see https://docs.asciidoctor.org/asciidoctor/latest/install/linux-packaging/ | ||
deerskindoll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
. Run `build/scripts/build.sh` to generate html with images in titles-generated/ folders | ||
. Run the following command to generate html with images in titles-generated/ folders: | ||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
deerskindoll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
[source,terminal] | ||
---- | ||
$ build/scripts/build.sh | ||
deerskindoll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
---- | ||
|
||
deerskindoll marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Checking for broken links | ||
|
||
You can run `htmltest` locally to check for broken links in your PR. | ||
|
||
. Install `htmltest` from https://github.com/wjdp/htmltest | ||
. Run the following command: | ||
|
||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
[source,terminal] | ||
---- | ||
$ htmltest | ||
---- | ||
|
||
You can run `linkchecker` to check for broken links in the published RHDH docs. | ||
|
||
. Install `linkchecker` from https://github.com/linkchecker/linkchecker. | ||
. Run the following command to create a .txt file with a list of detected broken links: | ||
|
||
deerskindoll marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
[code,terminal] | ||
---- | ||
$ linkchecker --check-extern --output failures --file-output failures/broken-links.txt https://docs.redhat.com/en/documentation/red_hat_developer_hub/<version> | ||
---- | ||
|
||
## Previews | ||
|
||
Commits to this repo can be seen as GH Page content here: | ||
You can view commits to this repo as GitHub Page content here: | ||
|
||
https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/ | ||
|
||
Pull requests will have a link to the generated HTML attached a comment. | ||
PRs have a link to the generated HTML attached as a comment. | ||
|
||
## Contributing | ||
## Reviews | ||
|
||
All PRs are reviewed for technical accuracy by an SME and writing quality by another tech writer. | ||
|
||
When possible, request a tech review first and implement suggestions from the SME. | ||
After your PR is approved by the tech reviewer, follow it up with a request a peer review. | ||
|
||
Check link:https://docs.google.com/spreadsheets/d/1X1KHZx2Kvbotie-sU1g2xNt5vHWtc8Wq9Zb43JycOlA/edit?gid=1375268335#gid=1375268335[this doc] for the current peer review roster. | ||
|
||
## Merging PRs | ||
|
||
After the peer and tech reviewer approve your PR, the PR is ready for merging and cherry-picking by a gatekeeper. | ||
|
||
Submit a pull request against this repo. | ||
Check link:https://docs.google.com/spreadsheets/d/1X1KHZx2Kvbotie-sU1g2xNt5vHWtc8Wq9Zb43JycOlA/edit?gid=0#gid=0[this doc] for the current gatekeeper roster. | ||
|
||
## Labels | ||
|
||
## Plugins Reference Guide | ||
As you work on your contribution to this repo, | ||
use labels to show the status of your PR and to request reviews: | ||
|
||
* draft: `do-not-merge/work-in-progress` | ||
* ready for peer and technical reviews: `do-not-merge/review-in-progress` | ||
* request for a tech review: `technical-review-needed` | ||
* completed tech review: `technical-review-done` | ||
* request for a peer review: `peer-review-needed` | ||
* completed peer review: `peer-review-done` | ||
* ready for merging: `ready-to-merge` | ||
[NOTE] | ||
==== | ||
Remember to remove labels as they become outdated. | ||
For example, remove the `do-not-merge/work-in-progress` label when you finalize your draft and your PR is ready for review. | ||
==== | ||
|
||
## Publishing pipeline | ||
|
||
This repo is the upstream mirror of the GitLab RHDH repo https://gitlab.cee.redhat.com/red-hat-developers-documentation/rhdh | ||
|
||
Merged PRs are synced to GitLab for build with Pantheon. | ||
|
||
## Plugins Reference Guide | ||
For Plugin configuration guide, see upstream content in https://github.com/janus-idp/backstage-plugins/tree/main/plugins | ||
|
||
## Additional sources | ||
|
||
* link:https://spaces.redhat.com/spaces/RHDEVDOCS/pages/467060194/RHDH+documentation+contributor+guide[RHDH documentation contributor guide] | ||
* link:https://spaces.redhat.com/spaces/RHDEVDOCS/pages/494635174/Content+creation+guidelines [RHDH content creation guidelines] | ||
* link:https://spaces.redhat.com/spaces/RHDEVDOCS/pages/580260123/GitHub+Labels+-+What+When+Who[RHDH GitHub labels] |
Uh oh!
There was an error while loading. Please reload this page.