Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Docs
name: Build CDX-1.x Docs

on:
push:
Expand All @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docgen/xml
working-directory: docgen/schema-v1/xml
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand All @@ -38,13 +38,13 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: XML-Schema-documentation
path: docgen/xml/docs
path: docgen/schema-v1/xml/docs
if-no-files-found: error
docs_json:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docgen/json
working-directory: docgen/schema-v1/json
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand All @@ -64,13 +64,13 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: JSON-Schema-documentation
path: docgen/json/docs
path: docgen/schema-v1/json/docs
if-no-files-found: error
docs_proto:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docgen/proto
working-directory: docgen/schema-v1/proto
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand All @@ -84,5 +84,5 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: PROTO-Schema-documentation
path: docgen/proto/docs
path: docgen/schema-v1/proto/docs
if-no-files-found: error
File renamed without changes.
3 changes: 1 addition & 2 deletions docgen/json/gen.sh → docgen/schema-v1/json/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
set -eu

declare -a CDX_VERSIONS=(
'2.0'
'1.7'
'1.6'
'1.5'
Expand All @@ -22,7 +21,7 @@ Supported values for CDX_VERSION: ${CDX_VERSIONS[*]}


THIS_PATH="$(realpath "$(dirname "$0")")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../schema")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../../schema")"
DOCS_PATH="$THIS_PATH/docs"
TEMPLATES_PATH="$THIS_PATH/templates"

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docgen/proto/gen.sh → docgen/schema-v1/proto/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Supported values for CDX_VERSION: ${CDX_VERSIONS[*]}


THIS_PATH="$(realpath "$(dirname "$0")")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../schema")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../../schema")"
DOCS_PATH="$THIS_PATH/docs"
TEMPLATES_PATH="$THIS_PATH/templates"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docgen/xml/gen.sh → docgen/schema-v1/xml/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Supported values for CDX_VERSION: ${CDX_VERSIONS[*]}


THIS_PATH="$(realpath "$(dirname "$0")")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../schema")"
SCHEMA_PATH="$(realpath "$THIS_PATH/../../../schema")"
DOCS_PATH="$THIS_PATH/docs"

# Centralized header injection
Expand Down
File renamed without changes.
Empty file added docgen/schema-v2/.gitkeep
Empty file.
Loading