mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-24 08:48:15 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4957e04bda | |||
| 6d549e1cd8 | |||
| e86d9b26ab | |||
| 66664ca9cc | |||
| 9c73b1523a |
@@ -30,7 +30,7 @@ jobs:
|
|||||||
tar xvzf clearlinux-docs-zh-CN.tar.gz -C source/_build/html/zh_CN
|
tar xvzf clearlinux-docs-zh-CN.tar.gz -C source/_build/html/zh_CN
|
||||||
touch source/_build/html/.nojekyll
|
touch source/_build/html/.nojekyll
|
||||||
mv source/_build/html $HOME/output
|
mv source/_build/html $HOME/output
|
||||||
- name: Deploy the docs
|
- name: Deploy and publish docs
|
||||||
run: |
|
run: |
|
||||||
cd $HOME/output
|
cd $HOME/output
|
||||||
git init
|
git init
|
||||||
@@ -39,7 +39,3 @@ jobs:
|
|||||||
git add .
|
git add .
|
||||||
git commit -m "latest html output"
|
git commit -m "latest html output"
|
||||||
git push -f https://${GITHUB_ACTOR}:${{secrets.ACCESS_TOKEN}}@github.com/clearlinux/clear-linux-documentation.git HEAD:latestHTML
|
git push -f https://${GITHUB_ACTOR}:${{secrets.ACCESS_TOKEN}}@github.com/clearlinux/clear-linux-documentation.git HEAD:latestHTML
|
||||||
- name: Publish the docs
|
|
||||||
run: |
|
|
||||||
wget ${{secrets.PUBLISH_URL}}
|
|
||||||
cat clearlinux-latest
|
|
||||||
|
|||||||
+2
-12
@@ -133,24 +133,14 @@ rst_epilog = """
|
|||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
#html_theme = 'sphinx_rtd_theme'
|
html_theme = 'bizstyle'
|
||||||
html_theme = 'otc_tcs_sphinx_theme'
|
|
||||||
|
|
||||||
version = current_version = "latest"
|
version = current_version = "latest"
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
# documentation.
|
# documentation.
|
||||||
html_theme_options = {
|
html_theme_options = {}
|
||||||
# 'canonical_url': 'docs.01.org/clearlinux/', # remove old url - mv
|
|
||||||
'canonical_url': 'clearlinux.github.io/clear-linux-documentation/',
|
|
||||||
'style_nav_header_background': '#007ab2',
|
|
||||||
'navigation_depth': 4,
|
|
||||||
'display_version': False,
|
|
||||||
'collapse_navigation': False,
|
|
||||||
'prev_next_buttons_location': 'None',
|
|
||||||
'sticky_navigation': True
|
|
||||||
}
|
|
||||||
|
|
||||||
html_context = {
|
html_context = {
|
||||||
"display_github": True, # Integrate GitHub
|
"display_github": True, # Integrate GitHub
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ Download and launch the virtual machine image
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl -o clear.img.xz https://cdn.download.clearlinux.org/image/$(curl https://cdn.download.clearlinux.org/image/latest-images.json | grep -o clear-'[0-9]'*-kvm.img.xz | head -1)
|
curl -o clear.img.xz https://cdn.download.clearlinux.org/image/$(curl https://cdn.download.clearlinux.org/image/latest-images.json | grep -o 'clear-[0-9]*-kvm.img.xz' | head -1)
|
||||||
|
|
||||||
#. Uncompress the downloaded image:
|
#. Uncompress the downloaded image:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user