GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Generate documentation for default builders · Issue #23088 · angular/angular-cli

Generate documentation for default builders #23088

New issue
Copy link
New issue
Copy link
Open
Open
Generate documentation for default builders#23088
Copy link
Labels
area: @angular-devkit/build-angulararea: docsRelated to the documentationRelated to the documentation
Milestone
Backlog

Description

@dgp1130
dgp1130
opened on May 5, 2022
Issue body actions

AIO has a page on angular.json workspace configuration which lists default builders. Unfortunately these builders link directly to the JSON schema, which is not very intuitive.

We should process these schema files and generate a page for each builder linked from the workspace configuration. This would make it much easier to understand @angular-devkit/build-angular and related builders' options.

Reacted by Alan Agius

Activity

  1. dgp1130
    added
    area: docsRelated to the documentationRelated to the documentation
    on May 5, 2022
  2. alan-agius4
    added
    area: @angular-devkit/build-angular
    on May 5, 2022
  3. ngbot
    added this to the Backlog milestone on May 5, 2022
  4. sumitparakh commented on Jul 3, 2023

    @sumitparakh
    sumitparakh
    on Jul 3, 2023
    More actions

    @dgp1130 @alan-agius4 Can I take this up?

  5. dgp1130 commented on Jul 5, 2023

    @dgp1130
    dgp1130
    on Jul 5, 2023
    CollaboratorAuthor
    More actions

    @sumitparakh I'd definitely love to see this happen. I think it will be particularly relevant for Jest and Web Test Runner support, and having dedicated pages for those builders would allow us to decouple the existing ng build / ng test documentation from their builders (ng test docs currently assume you're running Karma, which won't always be true as we roll out Jest and WTR).

    This probably requires some cross-repo work since angular.io is hosted in the angular/angular repo. I'm also not too familiar with how doc generation is currently implemented, so it probably isn't the best issue for a community contribution, but if you're motivated to make it happen I'm happy to help out where I can.

    I think the scope here is to generate a page based on the schema.json files for each builder just like we currently do for CLI commands (ex. ng build). Then get those pages into angular.io. There's a process for importing CLI schema content into angular.io, but I'm not familiar with how it works offhand. Might take some digging and asking around to figure out the specifics.

    Reacted by Sumit Parakh
  6. sumitparakh commented on Jul 5, 2023

    @sumitparakh
    sumitparakh
    on Jul 5, 2023
    More actions

    Thank you so much @dgp1130. I will try to figure it out and generate the docs accordingly.

  7. alan-agius4 commented on Jul 6, 2023

    @alan-agius4
    alan-agius4
    on Jul 6, 2023
    Collaborator
    More actions

    Myself and @devversion are probably the most knowledgeable persons of the above mentioned process. However, I will be OOO starting from next week for 4 weeks.

  8. YuliaGaliulina commented on Aug 31, 2024

    @YuliaGaliulina
    YuliaGaliulina
    on Aug 31, 2024
    More actions

    I'm not sure if any of the discussion participants got their hands on the suggested implementation but I have created a dedicated resource that does exactly what @dgp1130 proposed. The documentation is dynamically generated from builder schemas and as of now supports Angular versions 12 through 18. Basically it's schemas that are rendered in a more user friendly way with an ability to switch between versions: https://yuliagaliulina.github.io/angular-cli-builders/

    I would love to hear feedback from @alan-agius4 and @devversion !

    Reacted by Alan Agius
  9. alan-agius4 commented on Aug 31, 2024

    @alan-agius4
    alan-agius4
    on Aug 31, 2024
    Collaborator
    More actions

    Hey @YuliaGaliulina, that’s really impressive. Well done!

    Reacted by Yulia Galiulina
  10. YuliaGaliulina commented on Sep 3, 2024

    @YuliaGaliulina
    YuliaGaliulina
    on Sep 3, 2024
    More actions

    @alan-agius4 I'm glad to hear that, thanks! Do you have any suggestions on how to improve the documentation?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular-devkit/build-angulararea: docsRelated to the documentationRelated to the documentation

    Type

    No type

    Projects

    No projects

      Milestone

      • BacklogNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.