diff --git a/contrib/index.rst b/contrib/index.rst index e519c7dab..0e7c79ca1 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 fc12c369f..74f734831 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 7865f125d..917cb30bf 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 b845e00aa..6808e99b4 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 110d718e9..ed7376a02 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 000000000..229542bf4 --- /dev/null +++ b/include/activate-tab.rst @@ -0,0 +1,7 @@ +.. raw:: html + + diff --git a/index.rst b/index.rst index 997f59932..d1369cac3 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 c34bb5235..48c2efc98 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 34101bd2d..405d10f03 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::