diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2021-02-05 02:22:37 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2021-02-05 02:22:37 +0300 |
commit | 7a650704285ea1d7416877acf40a42f1d8733af2 (patch) | |
tree | da45cd10e7f6accaa1ea1bdbdc6b151f3dee8e15 | |
parent | 59f1990f51b3ee7c09a15354d28fa8429b08d3fd (diff) | |
parent | 8b7a906df0f1eb989ddf9b877962da3190d5e205 (diff) |
Merge branch 'readme-symlinks' into 'master'docs-preview-runner-2736docs-preview-runner-2733
List the READMEs that need to be symlinked into index.html
See merge request gitlab-org/gitlab-docs!1494
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | scripts/readmes.txt | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b12a395b..b0d51fa8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -147,7 +147,7 @@ variables: - bundle exec rake setup_git default - bundle exec nanoc compile -VV # Symlink all README.html to index.html so that we can have clean URLs - - for i in `find public -name README.html`; do ln -sf README.html $(dirname $i)/index.html; done + - for i in `cat scripts/readmes.txt`; do ln -sf README.html $(dirname $i)/index.html; done # Remove CE dir and symlink EE to CE - if [ $CI_PIPELINE_SOURCE != 'pipeline' ]; then cd public && rm -rf ce && ln -s ee ce && cd ../; fi # Calculate sizes before and after minifying/gzipping the static files (HTML, CSS, JS) diff --git a/scripts/readmes.txt b/scripts/readmes.txt new file mode 100644 index 00000000..88cad047 --- /dev/null +++ b/scripts/readmes.txt @@ -0,0 +1,44 @@ +public/runner/development/README.html +public/runner/monitoring/README.html +public/runner/executors/README.html +public/runner/commands/README.html +public/runner/faq/README.html +public/omnibus/development/openshift/README.html +public/omnibus/development/README.html +public/omnibus/docker/README.html +public/omnibus/gitlab-mattermost/README.html +public/omnibus/package-information/README.html +public/omnibus/release/README.html +public/omnibus/settings/README.html +public/omnibus/common_installation_problems/README.html +public/omnibus/gitlab-ci/README.html +public/omnibus/build/README.html +public/omnibus/update/README.html +public/omnibus/maintenance/README.html +public/omnibus/roles/README.html +public/omnibus/architecture/registry/README.html +public/omnibus/architecture/README.html +public/omnibus/README.html +public/ee/downgrade_ee_to_ce/README.html +public/ee/security/README.html +public/ee/university/README.html +public/ee/intro/README.html +public/ee/development/README.html +public/ee/api/README.html +public/ee/integration/README.html +public/ee/administration/auth/README.html +public/ee/legal/README.html +public/ee/install/README.html +public/ee/ci/examples/deployment/README.html +public/ee/ci/examples/README.html +public/ee/ci/yaml/README.html +public/ee/ci/runners/README.html +public/ee/ci/triggers/README.html +public/ee/ci/variables/README.html +public/ee/ci/README.html +public/ee/raketasks/README.html +public/ee/migrate_ci_to_ce/README.html +public/ee/update/README.html +public/ee/gitlab-basics/README.html +public/ee/README.html +public/ee/ssh/README.html |