Skip to content

docs: Add Developer Resources documentation to Documentation menu #1900

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

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

aThorp96
Copy link
Contributor

@aThorp96 aThorp96 commented Jan 31, 2025

Changes

Enable users to access the Developer Resources documentation (renamed Contributor Resources) from the side-menu on the site

Submitter Checklist

  • 📝 Ensure your commit message is clear and informative. Refer to the How to write a git commit message guide. Include the commit message in the PR body rather than linking to an external site (e.g., Jira ticket).

  • ♽ Run make test lint before submitting a PR to avoid unnecessary CI processing. Consider installing pre-commit and running pre-commit install in the repository root for an efficient workflow.

  • ✨ We use linters to maintain clean and consistent code. Run make lint before submitting a PR. Some linters offer a --fix mode, executable with make fix-linters (ensure markdownlint and golangci-lint are installed).

  • 📖 Document any user-facing features or changes in behavior.

  • 🧪 While 100% coverage isn't required, we encourage unit tests for code changes where possible.

  • 🎁 If feasible, add an end-to-end test. See README for details.

  • 🔎 Address any CI test flakiness before merging, or provide a valid reason to bypass it (e.g., token rate limitations).

  • If adding a provider feature, fill in the following details:

Git Provider Supported
GitHub App ✅️
GitHub Webhook ❌️
Gitea ❌️
GitLab ❌️
Bitbucket Cloud ❌️
Bitbucket Server ❌️

(update the documentation accordingly)

@aThorp96 aThorp96 marked this pull request as ready for review January 31, 2025 18:06
@aThorp96 aThorp96 force-pushed the dev-docs-fix branch 3 times, most recently from 036d1fb to 5c348b5 Compare January 31, 2025 19:19
@enarha
Copy link
Contributor

enarha commented Feb 2, 2025

/lgtm

@chmouel
Copy link
Member

chmouel commented Feb 3, 2025

SGTM any chance you can add that link to the contributing section of the README as well https://github.com/openshift-pipelines/pipelines-as-code/tree/main?tab=readme-ov-file#contributing

@chmouel
Copy link
Member

chmouel commented Feb 3, 2025

and hack/dev/kind too

image

The Developer Resources page was previously inaccessible via the
static site except through the site's search results.
Since CI/CD is often written and maintained by developers, using the
term "Contributor" more-clearly distinguishes the target of the
developer docs, since they are targetted at developers attempting
to contribute to PaC
@aThorp96
Copy link
Contributor Author

aThorp96 commented Feb 3, 2025

Good catch @chmouel, thanks. Done

That does make me think: I wonder if markdownlint could either detect dead links in a PR and/or detect dead links to internal documentation 🤔 Out of scope for this PR of course but the thought is rattling around in my brain now 😄

@chmouel chmouel merged commit 1f21843 into openshift-pipelines:main Feb 5, 2025
4 checks passed
@chmouel
Copy link
Member

chmouel commented Feb 5, 2025

just a note we prefer squashed commits (in tektoncd/ as well) it's fine now but next time please squash the commits unless it's distinctive features/commits that are not related

@aThorp96 aThorp96 deleted the dev-docs-fix branch February 5, 2025 15:20
@aThorp96
Copy link
Contributor Author

aThorp96 commented Feb 5, 2025

Thanks @chmouel! For squash commits, do we generally prefer one commit per PR or to squash into atomic changes?

@mathur07
Copy link
Contributor

@aThorp96 https://pipelinesascode.com/docs/dev/ is 404 not found can you take a look:
image

@aThorp96
Copy link
Contributor Author

@mathur07 I was just asking Chmouel about this lol

This change is merged but the main site only gets updated when a new release is cut. You can find "bleeding edge" docs on https://main.pipelines-as-code.pages.dev/docs/dev/ or https://nightly.pipelines-as-code.pages.dev/docs/dev/

@chmouel
Copy link
Member

chmouel commented Feb 11, 2025 via email

@mathur07
Copy link
Contributor

@mathur07 I was just asking Chmouel about this lol

This change is merged but the main site only gets updated when a new release is cut. You can find "bleeding edge" docs on https://main.pipelines-as-code.pages.dev/docs/dev/ or https://nightly.pipelines-as-code.pages.dev/docs/dev/

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants