etcd-io / etcd-io/website

Simplify how versions are configured in front matter

Open
#322 2 comments 0 reactions 1 assignee Claimed by @nate-double-u View on GitHub
in progress infrastructure
Dominant language
HTML
Stars
194
Forks
354
Avg merge
9d 12h
Merged PRs (30d)
3

Description

Simplify how versions are configured in front matter, especially for `next/_index.html`. This is what the front matter looks like now:

```yaml
---
title: v3.5-DRAFT docs
cascade:
version: next
versName: &name v3.5-DRAFT
git_version_tag: v3.5.0-beta.4
page_warning: the documentation is in **DRAFT** status.
linkTitle: *name
---
```

I'd like to be able to use `version` in the **Install** page, for example, but I can't atm because it is currently the permalink alias. I'm leaning more and more towards #252, as a partial way of contributing to a solution to this issue too.

Other ideas:

- Separate out the status as, e.g., `versStatus: DRAFT`. For older doc versions we could use `ARCHIVE`

Related: #252, #296, #300, #302, #304

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.