grafana/docs/sources/developers/contribute.md
Jack Baldry c1c48dd610
Use relative aliases for all non-current Grafana aliases (#60062)
* Use relative aliases for all non-current Grafana aliases

Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.

The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove aliases from shared pages

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Rewrite all current latest aliases to be next

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix typo in latest alias

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove all current page aliases

find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Prettier

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 12:36:04 -04:00

2.8 KiB
Raw Blame History

keywords title weight
grafana
documentation
developers
resources
Contribute to Grafana 300

Contribute to Grafana

This page lists resources for developers who want to contribute to the Grafana software ecosystem or build plugins for Grafana.

General resources

These resources are useful for all developers.

  • Contributing to Grafana: Start here to learn how you can contribute your skills to make Grafana even better.

  • Developer guide: A guide to help you get started developing Grafana software, includes instructions for how to configure Grafana for development.

  • Contributing to documentation: A guide to help you contribute to Grafana documentation, includes links to beginner-friendly issues.

  • Architecture guides: These guides explain Grafanas background architecture.

  • Create a pull request: A guide for new contributors about how to create your first Grafana pull request.

  • REST APIs allow you to interact programmatically with the Grafana backend.

Best practices and style

Our style guides outline Grafana style for frontend, backend, documentation, and more, including best practices. Please read through them before you start editing or coding!