diff --git a/contrib/index.rst b/contrib/index.rst index e519c7dab4..0e7c79ca19 100644 --- a/contrib/index.rst +++ b/contrib/index.rst @@ -4,14 +4,7 @@ Python Contributor's Guide (draft) ================================== -.. raw:: html - - - +.. include:: /include/activate-tab.rst .. important:: diff --git a/documentation/devguide.rst b/documentation/devguide.rst index fc12c369f9..74f734831b 100644 --- a/documentation/devguide.rst +++ b/documentation/devguide.rst @@ -4,13 +4,7 @@ Helping with the Developer's Guide ================================== -.. raw:: html - - +.. include:: /include/activate-tab.rst .. highlight:: console diff --git a/documentation/start-documenting.rst b/documentation/start-documenting.rst index 7865f125d6..917cb30bfa 100644 --- a/documentation/start-documenting.rst +++ b/documentation/start-documenting.rst @@ -5,13 +5,7 @@ Getting started =============== -.. raw:: html - - +.. include:: /include/activate-tab.rst .. highlight:: rest diff --git a/getting-started/git-boot-camp.rst b/getting-started/git-boot-camp.rst index b845e00aa6..6808e99b47 100644 --- a/getting-started/git-boot-camp.rst +++ b/getting-started/git-boot-camp.rst @@ -4,13 +4,7 @@ Git bootcamp and cheat sheet ============================ -.. raw:: html - - +.. include:: /include/activate-tab.rst .. highlight:: console diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 110d718e95..ed7376a021 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -5,13 +5,7 @@ Setup and building ================== -.. raw:: html - - +.. include:: /include/activate-tab.rst .. highlight:: console diff --git a/include/activate-tab.rst b/include/activate-tab.rst new file mode 100644 index 0000000000..229542bf42 --- /dev/null +++ b/include/activate-tab.rst @@ -0,0 +1,7 @@ +.. raw:: html + + diff --git a/index.rst b/index.rst index 997f599327..d1369cac3c 100644 --- a/index.rst +++ b/index.rst @@ -4,13 +4,7 @@ Python Developer's Guide ======================== -.. raw:: html - - +.. include:: include/activate-tab.rst .. highlight:: bash diff --git a/testing/coverage.rst b/testing/coverage.rst index c34bb5235a..48c2efc985 100644 --- a/testing/coverage.rst +++ b/testing/coverage.rst @@ -4,13 +4,7 @@ Increase test coverage ====================== -.. raw:: html - - +.. include:: /include/activate-tab.rst Python development follows a practice that all semantic changes and additions to the language and :abbr:`stdlib (standard library)` are accompanied by diff --git a/testing/run-write-tests.rst b/testing/run-write-tests.rst index 34101bd2d2..405d10f039 100644 --- a/testing/run-write-tests.rst +++ b/testing/run-write-tests.rst @@ -5,13 +5,7 @@ Running and writing tests ========================= -.. raw:: html - - +.. include:: /include/activate-tab.rst .. note::