Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed custom JavaScript for showing instructions by OS, broken #40

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions docs/_static/show_block_by_os.js

This file was deleted.

37 changes: 0 additions & 37 deletions docs/_static/theme_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,40 +77,3 @@ img.math {
border-bottom-color: #ced3d3 !important;
padding-top: 5px !important;
}

/* define a block that display different instruction per os */
.os-code-block {
border: 1px solid black;
padding: 2px;
}

/* give code block distinct link */
div.os-code-block div.choices ul {
display: inline-block;
border: 1px solid black;
width: 100%;
background-color: #0073a3;
}

/* Make List elements into links */
div.os-code-block div.choices li {
float: left;
list-style: none !important;
text-align: center;
border-right: 1px solid black;
padding: 5px;
margin: 0;
color: white;
}

div.os-code-block div.choices li.active {
font-weight: bold;
background-color: #60add5;
text-decoration: underline;
}


/* Make block appear as link */
div.os-code-block div.choices li:hover {
cursor: pointer;
}
19 changes: 4 additions & 15 deletions docs/installation-basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,13 @@ Follow the steps below to install emodpy-typhoid.

#. Activate the virtual environment:

.. container:: os-code-block
* For Windows, enter the following::

.. container:: choices
v-emodpy-typhoid\Scripts\activate

* Windows
* Linux
* For Linux, enter the following::

.. container:: windows

Enter the following::

v-emodpy-typhoid\Scripts\activate

.. container:: linux

Enter the following::

source v-emodpy-typhoid/bin/activate
source v-emodpy-typhoid/bin/activate

#. Install emodpy-typhoid packages::

Expand Down
Loading