Skip to content

Commit d7567e2

Browse files
authored
Merge pull request #86 from boegel/auto_gen_docs
add script to auto-generate version-specific pages
2 parents 25103d9 + 7ad451d commit d7567e2

21 files changed

Lines changed: 43044 additions & 150 deletions

.github/workflows/markdown-linting.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
uses: actions/checkout@v3
1111

1212
- name: MarkdownLint mdl Action
13-
uses: actionshub/markdownlint@2.0.2
13+
uses: actionshub/markdownlint@v2.1.2
1414
with:
15-
filesToIgnoreRegex: "docs/demos/.*"
15+
# filter out version-specific/* for now, until we fix all issues that mdl trips over
16+
filesToIgnoreRegex: "(docs\\/demos\\/.*|docs\\/version-specific\\/.*)"

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
with:
2020
check_filenames: true
2121
ignore_words_list: atleast,ninjs,simpy,proovread,namd,precice
22-
exclude_file: docs/js/asciinema-player-2.6.1.js
22+
# filter out
23+
# docs/js/asciinema-player-2.6.1.js as it is not markdown
24+
# version-specific/supported-software.md as the software descriptions have spelling errors
25+
skip: './docs/js/asciinema-player-2.6.1.js,./docs/version-specific/supported-software.md'
2326

2427
- name: check internal links
2528
run: |
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Constants available (only) in configuration files {: #avail_cfgfile_constants }
22

3-
!!! warning
4-
This page will soon replace <https://docs.easybuild.io/en/latest/version-specific/config_file_constants.html>.
3+
### Only in 'DEFAULT' section:
54

6-
**
7-
It still needs to be ported from *reStructuredText* (.rst) to *MarkDown* (.md),
8-
and you can help with that!
9-
**
5+
Constant name |Constant help |Constant value
6+
--------------------------|---------------------------------------------------|-------------------------------------------------------------------
7+
``DEFAULT_REPOSITORYPATH``|Default easyconfigs repository path |``/home/example/.local/easybuild/ebfiles_repo``
8+
``DEFAULT_ROBOT_PATHS`` |List of default robot paths (':'-separated) |``/home/example/work/easybuild-easyconfigs/easybuild/easyconfigs``
9+
``HOME`` |Current user's home directory, expanded '~' |``/home/example``
10+
``USER`` |Current username, translated uid from password file|``example``
1011

11-
- source: [`docs/version-specific/config_file_constants.rst` in `easybuilders/easybuild` repo](https://raw.githubusercontent.com/easybuilders/easybuild/develop/docs/version-specific/config_file_constants.rst)
12-
- target: [`docs/version-specific/config-file-constants.md` in `easybuilders/easybuild-docs` repo](https://github.com/easybuilders/easybuild-docs/tree/main/docs/version-specific/config-file-constants.md)
13-
14-
See <https://github.com/easybuilders/easybuild-docs> for more information.
12+
*(see also* ``eb --avail-cfgfile-constants`` *)*

0 commit comments

Comments
 (0)