8 Commits

Author SHA1 Message Date
Andreas Jaeger
1d08a657f6 Simplify publishdocs et al
We don't have different content for build and publish, so can cleanup
our scripts and remove any special handling.

Remove also usage of www-index.html.

Change-Id: If1a9d9a2dddbf7cdf9fd4c01d22530f2cd181907
2019-08-16 16:46:43 +02:00
Andreas Jaeger
c1cc9cae1f Cleanup jobs and config
Use promote jobs for all publishing jobs, they work fine.

We don't use checkbuild/checklang anymore, remove it.

Keep checkbuild job until we have renamed training-guides to use the new
job.

Change-Id: I882fd90f07987358cd55e3a04a8f7ad0c746ce80
2019-08-16 16:19:56 +02:00
Andreas Jaeger
741d59c459 Switch output to publish-docs/html
Publishing to a top-level directory has a few challenges with some new
infra scripts. Let's keep those simple and change from publish-docs to
publish-docs/html.

Depends-On: https://review.opendev.org/676489
Change-Id: I94b7bf915c0fdad0e9e2f5dd81846f45dc99194a
2019-08-15 06:46:46 +02:00
Doug Hellmann
dcd0ce9584 use whereto to test redirect rules
Add a file containing the tests for all of the redirect rules and set
up whereto to run during the check. The test file is a template, just
like the htaccess file, to ensure we auto-generate the rules for all
of the various project redirects.

Fix a few issues with the template generator that ended up producing
duplicate or useless rules.

Change-Id: I0d306149dc33f64d44d9482fab02101bd1f6d7f5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-08-25 18:56:14 -04:00
Doug Hellmann
32a20ae990 make the test script smarter about its output directory
If we ran "tox -e publishdocs" locally, there won't be a
publish-docs/www/ directory and we don't want to create one when the
template test script is run. Have it check the existing directories to
derive where it should write its output.

Change-Id: I4ee8495bc0fb8c6a59424332d498956ea7e7e870
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-18 18:19:51 -04:00
Doug Hellmann
0d07be764f add flag to www-generator to look for links to enable
Add --check-all-links option to www-generator.py and have it report a
warning for links that do exist for a project but that are not enabled
in the project data file. This can be used to update that data file to
turn on flags and link to additional documentation.

Change-Id: I7941c6fd8ef53c37bd309542d5938699fa6fb475
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-11 20:05:06 +00:00
Doug Hellmann
2e587af407 add a global project list file for main site templates
Change-Id: I4a14ccbdd743a132d6186c4312b865cda64b5db1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-03 08:46:57 -04:00
Doug Hellmann
3ad1662bfa replace install-guide landing page contents with list of projects
This patch includes links to the projects that were included directly in
the guide or for which a project-specific guide was linked from the old
content. We can add and remove projects easily.

Change-Id: I1fec91b1bae3289781d51a2021f555f020480262
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-03 08:46:57 -04:00