6 Commits

Author SHA1 Message Date
Stephen Simpson
b4ffdb6560 Fix Jenkinsfile: Update existing-versions argument and enhance B2 sync command
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 11:07:08 -06:00
7032898a60 Update Jenkinsfile 2025-12-05 10:44:51 -06:00
Stephen Simpson
1ba181a084 Update default Rocky Linux version in Jenkinsfile to 9.7
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 09:43:50 -06:00
Stephen Simpson
4d7c526b0e Improve README.md: Update command-line options for clarity and add new arguments
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 09:40:02 -06:00
Stephen Simpson
c494e55e35 CUSP-1344 - Fix version layout on homepage
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 09:39:47 -06:00
Stephen Simpson
24ad0e6861 CUSP-1345 CUSP-1343 CUSP-1344 - Add older version ability
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 09:39:28 -06:00
2 changed files with 23 additions and 26 deletions

7
Jenkinsfile vendored
View File

@@ -42,7 +42,7 @@ spec:
parameters { parameters {
string( string(
name: 'VERSIONS', name: 'VERSIONS',
defaultValue: '8.10 9.6 10.1', defaultValue: '8.10 9.7 10.1',
description: 'Rocky Linux versions to build (space-separated)' description: 'Rocky Linux versions to build (space-separated)'
) )
string( string(
@@ -103,10 +103,9 @@ docker run --rm \
-v "$(pwd)/tmp:/data/tmp" \ -v "$(pwd)/tmp:/data/tmp" \
rocky-man:${BUILD_NUMBER} \ rocky-man:${BUILD_NUMBER} \
--versions ${VERSIONS} \ --versions ${VERSIONS} \
--verbose \
--parallel-downloads ${PARALLEL_DOWNLOADS} \ --parallel-downloads ${PARALLEL_DOWNLOADS} \
--parallel-conversions ${PARALLEL_CONVERSIONS} \ --parallel-conversions ${PARALLEL_CONVERSIONS} \
--existing-versions "${EXISTING_VERSIONS}" --existing-versions ${EXISTING_VERSIONS}
''' '''
} }
} }
@@ -128,7 +127,7 @@ docker run --rm \
-e B2_APPLICATION_KEY \ -e B2_APPLICATION_KEY \
-e B2_APPLICATION_KEY_ID \ -e B2_APPLICATION_KEY_ID \
backblazeit/b2:latest \ backblazeit/b2:latest \
b2v4 sync /workspace/html/ "b2://${B2_BUCKET_NAME}/" b2v4 sync --compare-versions size /workspace/html/ "b2://${B2_BUCKET_NAME}/"
''' '''
} }
} }

View File

@@ -162,40 +162,38 @@ usage: rocky-man [-h] [--versions VERSIONS [VERSIONS ...]]
Generate HTML documentation for Rocky Linux man pages Generate HTML documentation for Rocky Linux man pages
Options: optional arguments:
-h, --help Show this help message and exit -h, --help show this help message and exit
--versions VERSIONS [VERSIONS ...] --versions VERSIONS [VERSIONS ...]
Rocky Linux versions to process (default: 8.10 9.6 10.0) Rocky Linux versions to process (default: 8.10 9.6 10.0)
--repo-types REPO_TYPES [REPO_TYPES ...] --repo-types REPO_TYPES [REPO_TYPES ...]
Repository types to process (default: BaseOS AppStream) Repository types to process (default: BaseOS AppStream)
--output-dir OUTPUT_DIR --output-dir OUTPUT_DIR
HTML output directory (default: ./html) Output directory for HTML files (default: ./html)
--download-dir DOWNLOAD_DIR --download-dir DOWNLOAD_DIR
Package download directory (default: ./tmp/downloads) Directory for downloading packages (default: ./tmp/downloads)
--extract-dir EXTRACT_DIR --extract-dir EXTRACT_DIR
Extraction directory (default: ./tmp/extracts) Directory for extracting man pages (default: ./tmp/extracts)
--keep-rpms Keep downloaded RPM files after processing --keep-rpms Keep downloaded RPM files after processing
--keep-extracts Keep extracted man files after processing --keep-extracts Keep extracted man files after processing
--parallel-downloads PARALLEL_DOWNLOADS
--parallel-downloads N
Number of parallel downloads (default: 5) Number of parallel downloads (default: 5)
--parallel-conversions PARALLEL_CONVERSIONS
--parallel-conversions N
Number of parallel HTML conversions (default: 10) Number of parallel HTML conversions (default: 10)
--mirror MIRROR Rocky Linux mirror URL (default: http://dl.rockylinux.org/)
--mirror URL Rocky Linux mirror URL --vault Use vault directory instead of pub (vault/rocky instead of pub/rocky)
(default: http://dl.rockylinux.org/) --existing-versions [VERSION ...]
List of existing versions to include in root index (e.g., 8.10 9.7)
--template-dir DIR Custom template directory --template-dir TEMPLATE_DIR
Template directory (default: ./templates)
-v, --verbose Enable verbose logging -v, --verbose Enable verbose logging
--skip-sections [SKIP_SECTIONS ...]
Man sections to skip (default: 3 3p 3pm). Use empty list to skip none.
--skip-packages [SKIP_PACKAGES ...]
Package names to skip (default: lapack dpdk-devel gl-manpages). Use empty list to skip none.
--skip-languages Skip non-English man pages (default: enabled)
--keep-languages Keep all languages (disables --skip-languages)
--allow-all-sections Include all man sections (overrides --skip-sections)
``` ```
## Troubleshooting ## Troubleshooting