diff --git a/docs/_static/knight_mozilla_on.jpg b/docs/_static/knight_mozilla_on.jpg new file mode 100644 index 0000000..90f256a Binary files /dev/null and b/docs/_static/knight_mozilla_on.jpg differ diff --git a/docs/_themes/kr/layout.html b/docs/_themes/kr/layout.html index 0907a52..c7b9264 100755 --- a/docs/_themes/kr/layout.html +++ b/docs/_themes/kr/layout.html @@ -7,13 +7,25 @@ {% endif %} {% endblock %} -{%- block relbar2 %}{% endblock %} + +{% block sidebarlogo %} + +{% endblock %} + +{% block sidebar2 %} + {{ sidebar() }} + +{% endblock %} + {%- block footer %} - - Fork me on GitHub +
+ +
+
+ Fork me on GitHub diff --git a/docs/_themes/kr/static/flasky.css_t b/docs/_themes/kr/static/flasky.css_t index dcadc82..363963e 100755 --- a/docs/_themes/kr/static/flasky.css_t +++ b/docs/_themes/kr/static/flasky.css_t @@ -16,7 +16,7 @@ body { font-family: "Georgia", "Open Sans", OpenSansRegular, sans-serif; font-size: 16px; - background-color: white; + background: #fff; font-weight: 400; color: #000; margin: 0; @@ -100,7 +100,7 @@ div.sphinxsidebarwrapper p.logo { div.sphinxsidebar h3, div.sphinxsidebar h4 { font-family: 'Antic Slab' ,'Garamond', 'Georgia', serif; - color: #444; + color: #000; font-size: 24px; font-weight: normal; margin: 0 0 5px 0; @@ -112,7 +112,7 @@ div.sphinxsidebar h4 { } div.sphinxsidebar h3 a { - color: #444; + color: #000; } div.sphinxsidebar p.logo a, @@ -157,11 +157,12 @@ div.body h3, div.body h4, div.body h5, div.body h6 { - font-family: 'Antic Slab', "Open Sans", OpenSansRegular, sans-serif; + font-family: 'Antic Slab', serif; font-weight: normal; margin: 30px 0px 10px 0px; padding: 0; text-shadow: 1px 1px 3px #ddd; + color: #000; } div.body h1 { margin-top: 0; padding-top: 0; font-size: 250%; } @@ -248,7 +249,7 @@ p.admonition-title:after { pre { font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; - font-size: 0.8em; + font-size: 0.88em; } tt { @@ -541,4 +542,9 @@ a:hover tt { .revsys-inline { display: none!important; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 140px; + padding: 4px 3px; } \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 7e17d1b..c299880 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -152,7 +152,7 @@ html_static_path = ['_static'] #html_split_index = False # If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True +html_show_sourcelink = False # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True diff --git a/docs/index.rst b/docs/index.rst index a24d8c4..478b0d7 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,8 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -dataset: databases for humans -============================= +dataset: databases for busy nerds +================================= Getting the databases out of your data's way:: @@ -13,7 +13,8 @@ Getting the databases out of your data's way:: db = dataset.connect('sqlite:///weather.db') db['temperature'].find() -Features include: +Features +-------- * **Automatic schema**. If a table or column is written that does not exist in the database, it will be created automatically. @@ -22,20 +23,12 @@ Features include: * **Query helpers** for simple queries such as all rows in a table or all distinct values across a set of columns. +Contents +-------- + .. toctree:: :maxdepth: 2 -Next steps: - -* Quickstart: `Learn how to use dataset in five minutes `_ -* API: `Browse the complete API docs `_ - - - -Indices and tables ------------------- - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` + quickstart + api diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 8623841..c9aba63 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -3,9 +3,6 @@ Quickstart ========== -.. toctree:: - :maxdepth: 2 - Hi, welcome to the five-minute quick-start tutorial. At first you need to import the dataset package :) ::