Skip to content

Commit

Permalink
Remove "Try xonsh" and fix doctr release deploy
Browse files Browse the repository at this point in the history
"try xonsh" link is non-functional and is likely disappointing to new users who
try to use it.

quick other doc-related fix to re-install xonsh before second `doctr deploy` to
make sure that documentation that is uploaded reflects the last tagged release.
  • Loading branch information
gforsyth committed Apr 18, 2018
1 parent 7f766cd commit fd21091
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ script:
cd ..;
doctr deploy --deploy-repo xonsh/xonsh-docs dev;
git checkout $(git describe --tags `git rev-list --tags --max-count=1`);
pip install --upgrade .;
cd docs;
make clean html;
cd ..;
Expand Down
45 changes: 0 additions & 45 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,48 +57,3 @@ command prompt. The language is a superset of Python 3.4+ with additional
shell primitives that you are used to from Bash and IPython. It works on
all major systems including Linux, Mac OSX, and Windows. Xonsh is meant
for the daily use of experts and novices alike.

**Try it out!**

.. raw:: html

<style>
.tryitbutton {
background-color: #84A6C7;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 22px;
margin: 4px 2px;
cursor: pointer;
border-radius: 8px;
position:relative;
float: right;
right: 35%;
bottom: 240px;
}
</style>
<div id="trydiv"><p style="text-align:center;">
<iframe id="tryframe" data-src="_static/xonsh-live.png"
src="_static/xonsh-live.png" width="80%" height="480px"
style="overflow:hidden;" scrolling="no">
</iframe>
<button class="tryitbutton" id="trybutton">Click to Try Xonsh!</button>
<script>
$("#trybutton").click(function(){
var tryframe = $("#tryframe");
var trybutton = $("#trybutton");
tryframe.attr("src", tryframe.data("src"));
trybutton.remove();
});
</script>
</p>
</div>


.. <iframe id="tryframe" data-src="http:https://hermit.astro73.com/"
src="_static/xonsh-live.png" width="80%" height="480px"
style="overflow:hidden;" scrolling="no">
</iframe>

0 comments on commit fd21091

Please sign in to comment.