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
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
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).
@@ -37,9 +40,11 @@ supported syntax.
## 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.
* [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.
* [Config Handlers](./setup/config_handlers.md) - The Glazier configuration
handling libraries are responsible for taking the configuration language as

View File

@@ -3,24 +3,36 @@ show_downloads: True
navigation:
- title: Home
url: /
- title: Setup
url: setup
- title: └─About
- title: About
url: setup/about
- title: └─Config Handlers
url: setup/config_handlers
- title: └─Config Layout
url: setup/config_layout
- title: Setup Guide
url: setup
- title: Glazier Configurations
- title: └─New Actions
url: setup/new_actions
- title: └─Error codes
url: setup/error_codes
- title: YAML
- title: └─Config Layout
url: setup/config_layout
- title: YAML Files
- title: └─YAML Specs
url: yaml
- title: └─Chooser UI
url: yaml/chooser_ui
- title: └─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 💌
url: https://groups.google.com/forum/#!forum/glazier-discuss
- title: File A Bug 🐛

View File

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