Merge user-defined tags with default tags in stardoc macro (#247)

### Description

This pull request introduces changes to the `stardoc` macro to enhance its functionality by including user-defined tags in auxiliary targets. Previously, auxiliary targets only included default tags, and there was no way to specify additional tags.

### Changes Made

1. **Tag Handling:**
   - **Update:** Modified the `stardoc` macro to merge user-defined tags with default tags for auxiliary targets.
   - **Default Behavior:** By default, auxiliary targets receive the `["manual"]` tag.
   - **User-defined Tags:** If user-defined tags are provided, they are appended to the default tag list.

2. **Code Modifications:**
   - **File Updated:** `stardoc/stardoc.bzl`
   - **Details:** Added logic to handle the merging of tags in the `stardoc` macro. Ensured that user-defined tags are correctly 
     combined with default tags before being applied to auxiliary targets.
     
Fixes #245 
1 file changed
tree: c0370b12310f27b1c839ee96f57025449c7cbf06
  1. .bazelci/
  2. distro/
  3. docs/
  4. src/
  5. stardoc/
  6. test/
  7. .bazelignore
  8. .bazelrc
  9. .gitignore
  10. AUTHORS
  11. BUILD
  12. CHANGELOG.md
  13. CODEOWNERS
  14. CONTRIBUTING.md
  15. CONTRIBUTORS
  16. deps.bzl
  17. LICENSE
  18. maven_install.json
  19. MODULE.bazel
  20. README.md
  21. setup.bzl
  22. update-release-binary.sh
  23. update-stardoc-docs.sh
  24. update-stardoc-tests.sh
  25. version.bzl
  26. WORKSPACE
  27. WORKSPACE.bzlmod
README.md

Stardoc - Starlark Documentation Generator

Build status

Stardoc is a documentation generator for Bazel build rules written in Starlark.

Stardoc provides a Starlark rule (stardoc, see documentation) that can be used to build documentation for Starlark rules in Markdown. Stardoc generates one documentation page per .bzlfile.

Get Started

About Stardoc

Project Status

Skydoc deprecation

Stardoc is a replacement for the deprecated “Skydoc” documentation generator.

See Skydoc Deprecation for details on the deprecation and migration details.

Future plans

See our future plans for refactoring Stardoc to be more consistent with how Bazel evaluates .bzl files, and what it means for maintenance of this project.

Maintainer's guide

See the maintaner's guide for instructions for cutting a new release.