github.com/grafana/pyroscope@v1.18.0/docs/variables.mk (about)

     1  # List of projects to provide to the make-docs script.
     2  # Format is PROJECT[:[VERSION][:[REPOSITORY][:[DIRECTORY]]]]
     3  # The following PROJECTS value mounts content into the agent project, at the "latest" version, which is the default if not explicitly set.
     4  # This results in the content being served at /docs/agent/latest/.
     5  # The source of the content is the current repository which is determined by the name of the parent directory of the git root.
     6  # This overrides the default behavior of assuming the repository directory is the same as the project name.
     7  PROJECTS := pyroscope::$(notdir $(basename $(shell git rev-parse --show-toplevel)))
     8  
     9  # Set the DOC_VALIDATOR_IMAGE to match the one defined in CI.
    10  export DOC_VALIDATOR_IMAGE := $(shell sed -En 's, *image: "(grafana/doc-validator.*)",\1,p' "$(shell git rev-parse --show-toplevel)/.github/workflows/test.yml")
    11  
    12  # Skip some doc-validator checks.
    13  export DOC_VALIDATOR_SKIP_CHECKS := $(shell sed -En "s, *'--skip-checks=(.+)',\1,p" "$(shell git rev-parse --show-toplevel)/.github/workflows/test.yml")