diff --git a/_static/css/sb_theme_mods.css b/_static/css/sb_theme_mods.css new file mode 100644 index 0000000..029e334 --- /dev/null +++ b/_static/css/sb_theme_mods.css @@ -0,0 +1,65 @@ +/* Single-column index */ +.genindextable td { + width: 100% !important; + display: block; +} + +.admonition-further-reading .admonition-title::before { + display: none; +} + +.admonition .admonition-title { + background-color: var(--pst-color-info-bg); +} + + +/* Modify Further Reading admonition to show a + * "see also" sign in place of the default bell. */ +div.admonition.admonition-further-reading > .admonition-title::after { + content: var(--pst-icon-admonition-seealso); +} + +div.takeaway { + position: relative; + background-color: var(--pst-color-info-bg); + padding: 12px 16px 12px 3.236em; + margin: 12px 0 12px -3.236em; + border-radius: 0 4px 4px 0; +} + +div.takeaway p:last-child { + margin-bottom: 0; +} + +div.takeaway::before { + content: ''; + position: absolute; + left: 12px; + top: 12px; + width: 28px; + height: 28px; + background-image: url('../bridge.png'); + background-size: contain; + background-repeat: no-repeat; + background-position: center; +} + +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: var(--pst-color-surface); + width: 40%; + float: right; +} +blockquote { + display: flow-root; + width: auto; + box-sizing: border-box; + +} + +.pop { + color: var(--pst-color-text-base); + font-weight: bold; +} diff --git a/conf.py b/conf.py index 8954f06..77228d4 100644 --- a/conf.py +++ b/conf.py @@ -114,15 +114,20 @@ def get_version(): # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'sphinx_rtd_theme' +html_theme = 'sphinx_book_theme' +html_logo = "_static/SAlogoBlue.png" +html_title = "Computer Networks: A Systems Approach" # 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 # documentation. # html_theme_options = { - 'prev_next_buttons_location': 'both' -} + "use_download_button": True, + "use_source_button": True, + "use_repository_button": True, + "repository_url": "https://github.com/SystemsApproach/7E" + } # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -131,7 +136,7 @@ def get_version(): html_css_files = [ - 'css/rtd_theme_mods.css', + 'css/sb_theme_mods.css', ] # HTML Favicon diff --git a/index.rst b/index.rst index a6fd298..2f2d27e 100644 --- a/index.rst +++ b/index.rst @@ -45,7 +45,7 @@ Larry Peterson and Bruce Davie message.rst overlay.rst stream.rst + Acronym Glossary README.rst authors.rst - latest.rst print.rst diff --git a/latest.rst b/latest.rst deleted file mode 100644 index 460bd90..0000000 --- a/latest.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. SPDX-FileCopyrightText: 2026 Larry L. Peterson and Bruce S. Davie -.. SPDX-License-Identifier: CC-BY-4.0 - -.. role:: pop - -:pop:`Read The Latest!` -======================== - -`Systems Approach Newsletter: `__ Stay -up to date with the latest developments by subscribing to the -`Systems Approach Newsletter -`__, where the authors -connect the concepts and lessons in this book to what's happening in -the Internet today. - -`Book Series: `__ Also check out -our companion books that cover emerging topics in more depth. - - - -* `Network Security: A Systems Approach - `__ - -* `What We Talk About When We Talk About Systems `__ - -* `Private 5G: A Systems Approach `__ - -* `Software-Defined Networks: A Systems Approach `__ - -* `TCP Congestion Control: A Systems Approach `__ - -* `Edge Cloud Operations: A Systems Approach `__ diff --git a/print.rst b/print.rst index cf93033..c2d4d57 100644 --- a/print.rst +++ b/print.rst @@ -3,8 +3,8 @@ .. role:: pop -:pop:`Print Copies` -=========================== +:pop:`Print Copies and Updates` +=============================== We make all books in the *Systems Approach* series available as both print and e-books. This book is not yet in print; the 6th edition is @@ -28,3 +28,18 @@ our companion books that cover emerging topics in more depth. `__ * `TCP Congestion Control: A Systems Approach `__ + +Read The Latest! +----------------- + +`Systems Approach Newsletter: `__ Stay +up to date with the latest developments by subscribing to the +`Systems Approach Newsletter +`__, where the authors +connect the concepts and lessons in this book to what's happening in +the Internet today. + +You can also follow us on `Mastodon +`__. + +As participants in the Amazon Associate program we may earn income from qualifying purchases using the links above. diff --git a/requirements.txt b/requirements.txt index b7835cd..7d3f2ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ Sphinx~=8.2.3 doc8~=2.0.0 reuse~=5.0.2 -sphinx-rtd-theme~=3.0.2 +sphinx-book-theme~=1.4.0 sphinxcontrib-spelling~=8.0.1 sphinx-multiversion~=0.2.4 diff --git a/resources/slides/15_message.pptx b/resources/slides/15_message.pptx index a555edd..7b899c2 100644 Binary files a/resources/slides/15_message.pptx and b/resources/slides/15_message.pptx differ