You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Python utility that converts Google Devsite documentation to Hugo/Docsy format with dual GitHub Actions workflows for monitoring and site generation.
3
+
Convert Bazel’s Devsite docs into a Hugo/Docsy site for easy modification.
4
4
5
-
## Overview
5
+
## Motivation
6
6
7
-
This tool specifically converts the Bazel documentation from its source format at `https://github.com/bazelbuild/bazel/tree/master/site/en`to a Hugo static site using the Docsy theme. The conversion includes:
7
+
This tool implements the improvements outlined in [Bazel Docs: Why It Might Be Time For A Refresh](https://alanmond.com/posts/bazel-documentation-improvements/). The goal is to create a more developer friendly set of Bazel Docs. Starting with [bazel.build/docs](https://bazel.build/docs)
8
8
9
-
- Devsite-specific frontmatter to Hugo frontmatter conversion
10
-
- Directory structure transformation for Hugo/Docsy compatibility
11
-
- CSS/SCSS conversion for theme integration
12
-
- Automated GitHub Actions workflows for continuous updates
13
-
- Comprehensive validation and error handling
9
+
## Live Demo
10
+
11
+
https\://bazel-docs-68tmf.ondigitalocean.app/
12
+
13
+
## How it works
14
+
15
+
1. Clones the Devsite source from `bazel.build/docs`.
16
+
2. Transforms Devsite frontmatter and directory layout into Hugo/Docsy format.
17
+
3. Converts CSS/SCSS for Docsy theme compatibility.
14
18
15
19
## Usage
20
+
21
+
Run the latest build locally:
22
+
23
+
```bash
24
+
docker run -it -p 1313:1313 alan707/bazel-docs:latest
0 commit comments