Add link to docs, move error doc out of setup, and update sitemap/index.

PiperOrigin-RevId: 351139249
This commit is contained in:
Dan Tsekhanskiy
2021-01-11 06:17:11 -08:00
committed by Copybara-Service
parent fbe60750d3
commit 32c000d44f
4 changed files with 32 additions and 15 deletions

View File

@@ -1,5 +1,8 @@
# Glazier Documentation # Glazier Documentation
TIP: Glazier docs are best viewed on our
[docs site](https://google.github.io/glazier).
We'd love to hear from you! If you have any questions or suggestions regarding We'd love to hear from you! If you have any questions or suggestions regarding
the documentation below, please make a post in our public discussion list at the documentation below, please make a post in our public discussion list at
[glazier-discuss@googlegroups.com](https://groups.google.com/forum/#!forum/glazier-discuss). [glazier-discuss@googlegroups.com](https://groups.google.com/forum/#!forum/glazier-discuss).
@@ -37,9 +40,11 @@ supported syntax.
## Python ## Python
* [Installer Actions](../glazier/lib/actions) - Actions are classes which the * [Installer Actions](actions.md) - Actions are classes which the
configuration handler may call to perform a variety of tasks during imaging. configuration handler may call to perform a variety of tasks during imaging.
* [Policy Modules](../glazier/lib/policies) - Policy modules determine whether or not * [Policy Modules](policies.md) - Policy modules determine whether or not
Autobuild should be allowed to proceed with an installation.
* [Error Handling](error_codes.md) - Policy modules determine whether or not
Autobuild should be allowed to proceed with an installation. Autobuild should be allowed to proceed with an installation.
* [Config Handlers](./setup/config_handlers.md) - The Glazier configuration * [Config Handlers](./setup/config_handlers.md) - The Glazier configuration
handling libraries are responsible for taking the configuration language as handling libraries are responsible for taking the configuration language as

View File

@@ -3,24 +3,36 @@ show_downloads: True
navigation: navigation:
- title: Home - title: Home
url: / url: /
- title: Setup - title: About
url: setup
- title: └─About
url: setup/about url: setup/about
- title: └─Config Handlers
url: setup/config_handlers - title: Setup Guide
- title: └─Config Layout url: setup
url: setup/config_layout
- title: Glazier Configurations
- title: └─New Actions - title: └─New Actions
url: setup/new_actions url: setup/new_actions
- title: └─Error codes - title: └─Config Layout
url: setup/error_codes url: setup/config_layout
- title: YAML
- title: YAML Files
- title: └─YAML Specs
url: yaml url: yaml
- title: └─Chooser UI - title: └─Chooser UI
url: yaml/chooser_ui url: yaml/chooser_ui
- title: └─YAML Tips - title: └─YAML Tips
url: yaml/tips url: yaml/tips
- title: Python
- title: └─Installer Actions
url: actions
- title: └─Policy Modules
url: policies
- title: └─Error Handling
url: error_codes
- title: └─Config Handlers
url: setup/config_handlers
- title: Mailing List 💌 - title: Mailing List 💌
url: https://groups.google.com/forum/#!forum/glazier-discuss url: https://groups.google.com/forum/#!forum/glazier-discuss
- title: File A Bug 🐛 - title: File A Bug 🐛

View File

@@ -20,13 +20,13 @@
<p>{{ site.description | default: site.github.project_tagline }}</p> <p>{{ site.description | default: site.github.project_tagline }}</p>
<table> <table>
{% for nav in site.navigation %} {% for nav in site.navigation %}
{% if nav.url contains "://" %} {% if nav.url %}
<tr> <tr>
<th><a href="{{ nav.url }}">{{ nav.title }}</a></th> <th><a href="{{ nav.url | relative_url }}">{{ nav.title }}</a></th>
</tr> </tr>
{% else %} {% else %}
<tr> <tr>
<th><a href="{{ nav.url | relative_url }}">{{ nav.title }}</a></th> <th>{{ nav.title }}</th>
</tr> </tr>
{% endif %} {% endif %}
{% endfor %} {% endfor %}