Skip to content

Commit

Permalink
Merge pull request #974 from gusthoff/topic/infrastructure/review/edi…
Browse files Browse the repository at this point in the history
…torial/general/20231229/sandbox_logo

Editorial changes: improving sandbox website indicator
  • Loading branch information
gusthoff authored Dec 29, 2023
2 parents 488b480 + ae7200b commit 9bf5e3b
Show file tree
Hide file tree
Showing 16 changed files with 190 additions and 2 deletions.
7 changes: 7 additions & 0 deletions content/courses/Ada_For_The_CPP_Java_Developer/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Ada for the C++ or Java Developer

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/Ada_For_The_Embedded_C_Developer/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Ada for the Embedded C Developer

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/GNAT_Toolchain_Intro/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Introduction to the GNAT Toolchain

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/SPARK_for_the_MISRA_C_Developer/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ SPARK Ada for the MISRA C Developer

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/ada-idioms/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Ada Idioms

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/advanced-ada/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Advanced Journey With Ada: A Flight In Progress

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/advanced-ada/index_hidden.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Advanced Journey With Ada: A Flight In Progress (UNPUBLISHED)

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. toctree::
:maxdepth: 4
:caption: Unpublished Contents
Expand Down
7 changes: 7 additions & 0 deletions content/courses/advanced-spark/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Advanced SPARK

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/intro-to-ada/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ Introduction to Ada

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/intro-to-embedded-sys-prog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ Introduction to Embedded Systems Programming

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/intro-to-spark/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Introduction To SPARK

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/courses/whats-new-in-ada-2022/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ What's New in Ada 2022

.. include:: ../global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/labs/bug-free-coding/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Bug Free Coding with SPARK Ada

.. include:: ../../courses/global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
7 changes: 7 additions & 0 deletions content/labs/intro-to-ada/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Introduction to Ada: Laboratories

.. include:: ../../courses/global.txt

.. only:: no_hidden_books

.. warning::

This version of the website contains UNPUBLISHED contents.
Please do not share it externally!

.. only:: builder_epub

Release |release|
Expand Down
12 changes: 10 additions & 2 deletions frontend/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,12 @@ def get_file_from_conf_ini(path_to_file):
#html_theme = 'learn_theme'
html_theme = 'sphinx_rtd_theme'

html_title = "learn.adacore.com"
if 'GEN_LEARN_SITE' in os.environ and os.environ['GEN_LEARN_SITE'] == "yes":
html_title = "learn.adacore.com"
else:
html_title = "learn-sandbox.adacore.com"


smartquotes = False

html_theme_path = ['.'] # make sphinx search for themes in current dir
Expand Down Expand Up @@ -246,7 +251,10 @@ def get_file_from_conf_ini(path_to_file):

html_show_sphinx = False

html_logo = "img/logo.svg"
if 'GEN_LEARN_SITE' in os.environ and os.environ['GEN_LEARN_SITE'] == "yes":
html_logo = "img/logo.svg"
else:
html_logo = "img/logo_sandbox.svg"

html_favicon = "img/favicon.ico"

Expand Down
82 changes: 82 additions & 0 deletions frontend/sphinx/img/logo_sandbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9bf5e3b

Please sign in to comment.