Skip to content

Commit

Permalink
Move spec to be below /reference
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Nov 2, 2021
1 parent 166ddea commit 406f5da
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ assets/jsconfig.json
*.iml

# Generated content
/content/en/docs/specification/**/*.md
/content/en/docs/specification/**/*.png
!/content/en/docs/specification/_index.md
/content/en/docs/reference/specification/**/*.md
/content/en/docs/reference/specification/**/*.png
!/content/en/docs/reference/specification/_index.md
5 changes: 5 additions & 0 deletions content/en/docs/reference/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Reference
weight: 100
description: Reference material
---
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ no_list: true
cascade:
github_repo: &repo https://github.com/open-telemetry/opentelemetry-specification
github_subdir: specification
path_base_for_github_subdir: content/en/docs/specification/
path_base_for_github_subdir: content/en/docs/reference/specification/
github_project_repo: *repo
# Keep global values for this page. TODO: eliminate these overrides by moving the page into the spec repo.
github_repo: &repo https://github.com/open-telemetry/opentelemetry.io
Expand Down
2 changes: 1 addition & 1 deletion scripts/cp-spec-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

BASE_DIR=$(dirname $0)
SPEC=content-modules/opentelemetry-specification/specification
DEST=content/en/docs/specification
DEST=content/en/docs/reference/specification

rm -Rf $DEST/[^_]*

Expand Down

0 comments on commit 406f5da

Please sign in to comment.