Skip to content

Commit b449513

Browse files
Adapt Score to Docs-As-Code 1.0 Release (#1529)
1 parent b2d669d commit b449513

File tree

7 files changed

+15
-56
lines changed

7 files changed

+15
-56
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4.0
1+
8.3.0

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: sudo apt update && sudo apt install -y graphviz
5656
- name: Build documentation
5757
run: |
58-
bazel run //docs:incremental_release -- --github_user=${{ github.repository_owner }} --github_repo=${{ github.event.repository.name }}
58+
bazel run //:docs -- --github_user=${{ github.repository_owner }} --github_repo=${{ github.event.repository.name }}
5959
tar -cf github-pages.tar _build
6060
# ------------------------------------------------------------------------------
6161
# Generate a unique artifact name to ensure proper tracking in all scenarios

BUILD

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
load("@score_cli_helper//:cli_helper.bzl", "cli_helper")
1515
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
16+
load("@score_docs_as_code//:docs.bzl", "docs")
1617
load("@score_starpls_lsp//:starpls.bzl", "setup_starpls")
1718

1819
test_suite(
@@ -61,3 +62,10 @@ setup_starpls(
6162
name = "starpls_server",
6263
visibility = ["//visibility:public"],
6364
)
65+
66+
docs(
67+
data = [
68+
"@score_process//:needs_json",
69+
],
70+
source_dir = "docs",
71+
)

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ bazel_dep(name = "score_cli_helper", version = "0.1.1")
9797
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")
9898
# Checker rule for CopyRight checks/fixs
9999

100-
bazel_dep(name = "score_docs_as_code", version = "0.4.4")
101-
bazel_dep(name = "score_process", version = "1.0.4")
100+
bazel_dep(name = "score_docs_as_code", version = "1.0.1")
101+
bazel_dep(name = "score_process", version = "1.1.0")

docs/BUILD

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2424

2525
project = "S-CORE"
26+
project_url = "https://eclipse-score.github.io/score"
27+
project_prefix = "S-CORE_"
2628
author = "S-CORE"
2729
release = "0.1"
2830

docs/modules/feo/docs/manual/safety_manual.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Assumptions on the Environment
9595
- std::vec::Vec
9696

9797
**Note:** The above list is not yet complete. It needs to be refined based on a final implementation.
98-
At the moment, it covers probably about 95% of std library usages.
98+
At the moment, it covers approximately 95% of std library usages.
9999
An accurate list could be determined by switching feo to #![no_std] and looking at the compilation errors,
100100
but it gets quickly out of date with a changing codebase.
101101

0 commit comments

Comments
 (0)