Skip to content

Commit

Permalink
Merge pull request #2256 from InstituteforDiseaseModeling/main
Browse files Browse the repository at this point in the history
Merge doc changes to dev branch from Main
  • Loading branch information
shchen-idmod committed May 6, 2024
2 parents ef08463 + bc9c711 commit 820181c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 109 deletions.
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/basic-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,13 @@ source code changes.

#. Activate the virtual environment:

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

.. container:: choices
idmtools\Scripts\activate

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

.. container:: windows

Enter the following::

idmtools\Scripts\activate

.. container:: linux

Enter the following::

source idmtools/bin/activate
source idmtools/bin/activate

#. Install |IT_s| packages::

Expand Down

0 comments on commit 820181c

Please sign in to comment.