tree: e5097b30ffcefe3eaf3beef4139f7b50c37601b4 [path history] [tgz]
  1. _includes/
  2. _layouts/
  3. css/
  4. images/
  5. .gitattributes
  6. .gitignore
  7. _config.yml
  8. BUILD.bazel
  9. Built-ins.html
  10. Built-ins.md
  11. changing-rules.html
  12. changing-rules.md
  13. Cypress.html
  14. Cypress.md
  15. debugging.html
  16. debugging.md
  17. dependencies.html
  18. dependencies.md
  19. examples.html
  20. examples.md
  21. index.html
  22. index.md
  23. install.html
  24. install.md
  25. Jasmine.html
  26. Jasmine.md
  27. Karma.html
  28. Karma.md
  29. Labs.html
  30. Labs.md
  31. Protractor.html
  32. Protractor.md
  33. README.md
  34. repositories.html
  35. repositories.md
  36. Rollup.html
  37. Rollup.md
  38. search.html
  39. search.md
  40. stamping.html
  41. stamping.md
  42. Terser.html
  43. Terser.md
  44. TypeScript.html
  45. TypeScript.md
docs/README.md

Developing on the docsite

Running locally can be done with Jekyll via bazel. Follow setup instructions at https://help.github.com/en/articles/setting-up-your-github-pages-site-locally-with-jekyll

You'll also need the jekyll-toc gem installed

To build and update the docs in the /docs folder, run

$ yarn stardoc

To serve the docsite locally, use

$ bazel run --noincompatible_strict_action_env //docs

Authoring the docsite

The docsite is a mix of stardoc generated markdown and hand written markdown.
The files marked with

<!-- *********************
 DO NOT EDIT THIS FILE
  It is a generated build output from Stardoc.
  Instead you must edit the .bzl file where the rules are declared,
  or possibly a markdown file next to the .bzl file
 ********************* -->

Should be edited by modifying the docs in the source .bzl files. If updating css, then the scss in /docs/css should be edited. The HTML files in /docs are also generated and should not be edited directly, other files can be freely edited.