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

banner.css isn't added #23

Closed
rmb938 opened this issue Sep 2, 2016 · 26 comments
Closed

banner.css isn't added #23

rmb938 opened this issue Sep 2, 2016 · 26 comments

Comments

@rmb938
Copy link

rmb938 commented Sep 2, 2016

Using sphinxcontrib-versioning 2.1.3 (upgraded from 2.0.0)

config.py

scv_show_banner = True
scv_banner_greatest_tag = True
scv_whitelist_branches = ('master',)
scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst')
scv_sort = ('semver',)

Command Used

sphinx-versioning push docs gh-pages . -- -W

The banner template is rendered and injected fine but the banner.css doesn't get added.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

That's odd. I can't reproduce it. Can you post the HTML of one of your pages here?

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

Also the debug output of sphinx-versioning. That'll help too.

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Yup here is HTML



<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Welcome to Build All The Stuff&#39;s documentation! &mdash; Build All The Stuff  documentation</title>















    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />



    <link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />



    <link rel="top" title="Build All The Stuff  documentation" href="#"/>
        <link rel="next" title="Quick Start Guide" href="quickstart.html"/> 


  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

  <div class="wy-grid-for-nav">


    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">



            <a href="#" class="icon icon-home"> Build All The Stuff



          </a>







<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>


        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">



                <ul>
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="rpms.html">Building and Testing RPMs</a></li>
<li class="toctree-l1"><a class="reference internal" href="volumes.html">Default Shared Volumes</a></li>
<li class="toctree-l1"><a class="reference internal" href="commands.html">Commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="dockerdrivers.html">Docker Drivers</a></li>
<li class="toctree-l1"><a class="reference internal" href="development.html">Development</a></li>
</ul>



        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
        <a href="#">Build All The Stuff</a>
      </nav>



      <div class="wy-nav-content">
        <div class="rst-content">






<div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    <li><a href="#">Docs</a> &raquo;</li>

    <li>Welcome to Build All The Stuff's documentation!</li>
      <li class="wy-breadcrumbs-aside">


            <a href="_sources/index.txt" rel="nofollow"> View page source</a>


      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">









    <p class="scv-banner scv-sphinx_rtd_theme"><a href="1.1.1/index.html"><b>Warning:</b> This document is for the development version of Build All The Stuff. The latest version is 1.1.1.</a></p>
<div class="section" id="welcome-to-build-all-the-stuff-s-documentation">
<h1>Welcome to Build All The Stuff's documentation!<a class="headerlink" href="#welcome-to-build-all-the-stuff-s-documentation" title="Permalink to this headline">¶</a></h1>
<div class="section" id="what-is-bats">
<h2>What is BATS?<a class="headerlink" href="#what-is-bats" title="Permalink to this headline">¶</a></h2>
<p>BATS is the best Infrastructure in a Box implementation you have ever used!
No longer will you be required to know a bunch of complex commands.</p>
<p>See the Quick Start Guide to get started!</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="quickstart.html">Quick Start Guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="quickstart.html#requirements">Requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="quickstart.html#installation">Installation</a></li>
<li class="toctree-l2"><a class="reference internal" href="quickstart.html#create-your-first-environment">Create your First Environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="quickstart.html#now-what">Now What?</a></li>
<li class="toctree-l2"><a class="reference internal" href="quickstart.html#upgrading">Upgrading</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a><ul>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#docker">Docker</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#dns">DNS</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#nginx">NGINX</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#consul">Consul</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#vault">Vault</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#infrastructure-and-applications">Infrastructure and Applications</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration.html#definitions">Definitions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="rpms.html">Building and Testing RPMs</a><ul>
<li class="toctree-l2"><a class="reference internal" href="rpms.html#rpm-definition-configuration">RPM Definition Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="rpms.html#build-definition-configuration">Build Definition Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="rpms.html#environment-configuration">Environment Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="rpms.html#building-and-testing">Building and Testing</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="volumes.html">Default Shared Volumes</a></li>
<li class="toctree-l1"><a class="reference internal" href="commands.html">Commands</a><ul>
<li class="toctree-l2"><a class="reference internal" href="commands.html#environment-creation">Environment Creation</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands.html#environment-control">Environment Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands.html#container-control">Container Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands.html#rpms">RPMs</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands.html#misc">Misc</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="dockerdrivers.html">Docker Drivers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="dockerdrivers.html#docker-machine">Docker Machine</a></li>
<li class="toctree-l2"><a class="reference internal" href="dockerdrivers.html#docker-for-mac">Docker for Mac</a></li>
<li class="toctree-l2"><a class="reference internal" href="dockerdrivers.html#generic">Generic</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="development.html">Development</a><ul>
<li class="toctree-l2"><a class="reference internal" href="development.html#feature-branch">Feature Branch</a></li>
<li class="toctree-l2"><a class="reference internal" href="development.html#documentation">Documentation</a></li>
<li class="toctree-l2"><a class="reference internal" href="development.html#cutting-a-release">Cutting a release?</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>


           </div>
          </div>
          <footer>

    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">

        <a href="quickstart.html" class="btn btn-neutral float-right" title="Quick Start Guide" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>


    </div>


  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2016, Company CPE Team.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>

<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
    <span class="rst-current-version" data-toggle="rst-current-version">
        <span class="fa fa-book"> Other Versions</span>
        v: master
        <span class="fa fa-caret-down"></span>
    </span>
    <div class="rst-other-versions">
        <dl>
            <dt>Tags</dt>
            <dd><a href="1.1.1/index.html">1.1.1</a></dd>
            <dd><a href="1.1.0/index.html">1.1.0</a></dd>
            <dd><a href="1.0.1/index.html">1.0.1</a></dd>
            <dd><a href="1.0.0/index.html">1.0.0</a></dd>
        </dl>
        <dl>
            <dt>Branches</dt>
            <dd><a href="master/index.html">master</a></dd>
        </dl>
    </div>
</div>




    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>





    <script type="text/javascript" src="_static/js/theme.js"></script>




  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>


</body>
</html>

and here is the debug output

2016-09-02 13:27:43,572 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "rev-parse", "--show-toplevel"], "output": "/Users/rmb938y/IdeaProjects/python-bats\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:43,573 91073 INFO     sphinxcontrib.versioning.routines        Reading config from docs/conf.py...
2016-09-02 13:27:43,579 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpW5kPhqsphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:43,935 91073 INFO     sphinxcontrib.versioning.__main__        Gathering info about the remote git repository...
2016-09-02 13:27:43,936 91073 INFO     sphinxcontrib.versioning.routines        Getting list of all remote branches/tags...
2016-09-02 13:27:44,239 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-remote", "--heads", "--tags"], "output": "From git@git.company.com:cpe-python/python-bats.git\nd45cee87b203f5cf1178ee576bbe4202366ce38a\trefs/heads/bakerpm\n21f506e7aff58db60f2cb919374b4cd4a64f36e7\trefs/heads/fakes3\n3315887b72acf7e14fcac9fa69e62f9a84e778d4\trefs/heads/gh-pages\n091832c0a96997d5a3361adad2e2d6a4d5490b7c\trefs/heads/master\n7e4578e876a11ec95d56c145587841b0e1d7587d\trefs/heads/v1.x.y\n60a74322e7c4b090a7478049d565b2541a10f5e2\trefs/tags/0.0.1\n3b2d26ac6ab7c65ab9bc4a690d0197b0776e147c\trefs/tags/0.0.1^{}\nd173da85e01857936027c6481617d2be780f181e\trefs/tags/0.0.2\n84d0621a227e353a0b6da8bcd0066643f09acf50\trefs/tags/0.0.2^{}\n2dbc88cc37b3dd7ca7ad17a88436c0cc13501e2d\trefs/tags/0.0.3\n211ab783074d5a594bbe59a4c7ff8aebd7f7185d\trefs/tags/0.0.3^{}\n0b2e2695fa173df21c3f88c2047513579ac9e265\trefs/tags/1.0.0\n06c27244e513b173410e25e64c5670ba440f7e9d\trefs/tags/1.0.0^{}\n9979fb75d2d912a9521eeded2fe52993ea9a0d18\trefs/tags/1.0.1\n5d4d575b955b3b646dd4bf36df2d7551bfce3505\trefs/tags/1.0.1^{}\n493c2bd5b5ad255af7f2172d72bf98c6088cf803\trefs/tags/1.1.0\n4e8e527e6294363f34a9b36590eb8c963586a970\trefs/tags/1.1.0^{}\n661a7162aa171f8f801de73e0a694b9a08081e7f\trefs/tags/1.1.1\n7e4578e876a11ec95d56c145587841b0e1d7587d\trefs/tags/1.1.1^{}\n", "stdin": null, "cwd": "/Users//IdeaProjects/python-bats"}
2016-09-02 13:27:44,240 91073 INFO     sphinxcontrib.versioning.routines        Found: bakerpm fakes3 gh-pages master v1.x.y 0.0.1 0.0.2 0.0.3 1.0.0 1.0.1 1.1.0 1.1.1
2016-09-02 13:27:44,246 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "d45cee87b203f5cf1178ee576bbe4202366ce38a", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,251 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "21f506e7aff58db60f2cb919374b4cd4a64f36e7", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,257 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "3315887b72acf7e14fcac9fa69e62f9a84e778d4", "docs/conf.py"], "output": "", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,263 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "091832c0a96997d5a3361adad2e2d6a4d5490b7c", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,267 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "7e4578e876a11ec95d56c145587841b0e1d7587d", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,272 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "3b2d26ac6ab7c65ab9bc4a690d0197b0776e147c", "docs/conf.py"], "output": "", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,277 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "84d0621a227e353a0b6da8bcd0066643f09acf50", "docs/conf.py"], "output": "", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,282 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "211ab783074d5a594bbe59a4c7ff8aebd7f7185d", "docs/conf.py"], "output": "", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,288 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "06c27244e513b173410e25e64c5670ba440f7e9d", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,294 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "5d4d575b955b3b646dd4bf36df2d7551bfce3505", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,299 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "ls-tree", "--name-only", "-r", "4e8e527e6294363f34a9b36590eb8c963586a970", "docs/conf.py"], "output": "docs/conf.py\n", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,307 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["git", "show", "--no-patch", "--pretty=format:%ct", "21f506e7aff58db60f2cb919374b4cd4a64f36e7", "7e4578e876a11ec95d56c145587841b0e1d7587d", "091832c0a96997d5a3361adad2e2d6a4d5490b7c", "4e8e527e6294363f34a9b36590eb8c963586a970", "06c27244e513b173410e25e64c5670ba440f7e9d", "d45cee87b203f5cf1178ee576bbe4202366ce38a", "5d4d575b955b3b646dd4bf36df2d7551bfce3505"], "output": "1472834735\n1472830029\n1472832594\n1472235079\n1470687228\n1472838789\n1472153323", "stdin": null, "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,307 91073 INFO     sphinxcontrib.versioning.routines        With docs: bakerpm fakes3 master v1.x.y 1.0.0 1.0.1 1.1.0 1.1.1
2016-09-02 13:27:44,307 91073 INFO     sphinxcontrib.versioning.routines        Passed whitelisting: master 1.0.0 1.0.1 1.1.0 1.1.1
2016-09-02 13:27:44,308 91073 INFO     sphinxcontrib.versioning.__main__        Root ref is: master
2016-09-02 13:27:44,308 91073 INFO     sphinxcontrib.versioning.__main__        Banner main ref is: 1.1.1
2016-09-02 13:27:44,308 91073 INFO     sphinxcontrib.versioning.__main__        Pre-running Sphinx to collect versions' master_doc and other info.
2016-09-02 13:27:44,308 91073 DEBUG    sphinxcontrib.versioning.routines        Exporting 091832c0a96997d5a3361adad2e2d6a4d5490b7c to temporary directory.
2016-09-02 13:27:44,326 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "output": "", "stdin": null, "command": ["git", "archive", "--format=tar", "091832c0a96997d5a3361adad2e2d6a4d5490b7c"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,326 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["tar", "-x", "-C", "/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpLLPrqxsphinxcontrib_versioning"], "output": "", "stdin": ["git", "archive", "--format=tar", "091832c0a96997d5a3361adad2e2d6a4d5490b7c"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,354 91073 DEBUG    sphinxcontrib.versioning.routines        Exporting 4e8e527e6294363f34a9b36590eb8c963586a970 to temporary directory.
2016-09-02 13:27:44,370 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "output": "", "stdin": null, "command": ["git", "archive", "--format=tar", "4e8e527e6294363f34a9b36590eb8c963586a970"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,370 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["tar", "-x", "-C", "/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpjORZjBsphinxcontrib_versioning"], "output": "", "stdin": ["git", "archive", "--format=tar", "4e8e527e6294363f34a9b36590eb8c963586a970"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,392 91073 DEBUG    sphinxcontrib.versioning.routines        Exporting 7e4578e876a11ec95d56c145587841b0e1d7587d to temporary directory.
2016-09-02 13:27:44,409 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "output": "", "stdin": null, "command": ["git", "archive", "--format=tar", "7e4578e876a11ec95d56c145587841b0e1d7587d"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,409 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["tar", "-x", "-C", "/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpuA2SiFsphinxcontrib_versioning"], "output": "", "stdin": ["git", "archive", "--format=tar", "7e4578e876a11ec95d56c145587841b0e1d7587d"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,430 91073 DEBUG    sphinxcontrib.versioning.routines        Exporting 5d4d575b955b3b646dd4bf36df2d7551bfce3505 to temporary directory.
2016-09-02 13:27:44,449 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "output": "", "stdin": null, "command": ["git", "archive", "--format=tar", "5d4d575b955b3b646dd4bf36df2d7551bfce3505"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,449 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["tar", "-x", "-C", "/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpmuiYPSsphinxcontrib_versioning"], "output": "", "stdin": ["git", "archive", "--format=tar", "5d4d575b955b3b646dd4bf36df2d7551bfce3505"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,473 91073 DEBUG    sphinxcontrib.versioning.routines        Exporting 06c27244e513b173410e25e64c5670ba440f7e9d to temporary directory.
2016-09-02 13:27:44,489 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "output": "", "stdin": null, "command": ["git", "archive", "--format=tar", "06c27244e513b173410e25e64c5670ba440f7e9d"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,490 91073 DEBUG    sphinxcontrib.versioning.git             {"code": 0, "command": ["tar", "-x", "-C", "/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpXUG8ODsphinxcontrib_versioning"], "output": "", "stdin": ["git", "archive", "--format=tar", "06c27244e513b173410e25e64c5670ba440f7e9d"], "cwd": "/Users/rmb938y/IdeaProjects/python-bats"}
2016-09-02 13:27:44,513 91073 DEBUG    sphinxcontrib.versioning.routines        Building root (before setting root_dirs) in temporary directory: /var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmp65nw9Osphinxcontrib_versioning
2016-09-02 13:27:44,514 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for master with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/091832c0a96997d5a3361adad2e2d6a4d5490b7c/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmp65nw9Osphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        1.1.1 root directory is 1.1.1
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        1.1.0 root directory is 1.1.0
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        1.0.1 root directory is 1.0.1
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        1.0.0 root directory is 1.0.0
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        master root directory is master
2016-09-02 13:27:45,329 91073 DEBUG    sphinxcontrib.versioning.routines        Partially running sphinx-build to read configuration for: 1.1.1
2016-09-02 13:27:45,330 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/7e4578e876a11ec95d56c145587841b0e1d7587d/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpWk3mELsphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:45,621 91073 DEBUG    sphinxcontrib.versioning.routines        Partially running sphinx-build to read configuration for: 1.1.0
2016-09-02 13:27:45,622 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/4e8e527e6294363f34a9b36590eb8c963586a970/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpMJQ_Qksphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:45,920 91073 DEBUG    sphinxcontrib.versioning.routines        Partially running sphinx-build to read configuration for: 1.0.1
2016-09-02 13:27:45,920 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/5d4d575b955b3b646dd4bf36df2d7551bfce3505/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpoYXGWWsphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:46,212 91073 DEBUG    sphinxcontrib.versioning.routines        Partially running sphinx-build to read configuration for: 1.0.0
2016-09-02 13:27:46,213 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/06c27244e513b173410e25e64c5670ba440f7e9d/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpwV3ea7sphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:46,520 91073 DEBUG    sphinxcontrib.versioning.routines        Partially running sphinx-build to read configuration for: master
2016-09-02 13:27:46,521 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for config values with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/091832c0a96997d5a3361adad2e2d6a4d5490b7c/docs', '/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpAItqyisphinxcontrib_versioning')
Running Sphinx v1.4.5
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [100%] volumes
2016-09-02 13:27:46,875 91073 INFO     sphinxcontrib.versioning.routines        Building root: master
2016-09-02 13:27:46,875 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for master with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/091832c0a96997d5a3361adad2e2d6a4d5490b7c/docs', 'docs/_build')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:47,742 91073 INFO     sphinxcontrib.versioning.routines        Building ref: 1.1.1
2016-09-02 13:27:47,743 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for 1.1.1 with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/7e4578e876a11ec95d56c145587841b0e1d7587d/docs', u'docs/_build/1.1.1')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:48,496 91073 INFO     sphinxcontrib.versioning.routines        Building ref: 1.1.0
2016-09-02 13:27:48,497 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for 1.1.0 with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/4e8e527e6294363f34a9b36590eb8c963586a970/docs', u'docs/_build/1.1.0')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:49,231 91073 INFO     sphinxcontrib.versioning.routines        Building ref: 1.0.1
2016-09-02 13:27:49,231 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for 1.0.1 with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/5d4d575b955b3b646dd4bf36df2d7551bfce3505/docs', u'docs/_build/1.0.1')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:49,964 91073 INFO     sphinxcontrib.versioning.routines        Building ref: 1.0.0
2016-09-02 13:27:49,965 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for 1.0.0 with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/06c27244e513b173410e25e64c5670ba440f7e9d/docs', u'docs/_build/1.0.0')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:50,689 91073 INFO     sphinxcontrib.versioning.routines        Building ref: master
2016-09-02 13:27:50,689 91073 DEBUG    sphinxcontrib.versioning.sphinx_         Running sphinx-build for master with args: ('sphinx-build', u'/var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning/091832c0a96997d5a3361adad2e2d6a4d5490b7c/docs', u'docs/_build/master')
Running Sphinx v1.4.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [100%] volumes
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] volumes
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.
2016-09-02 13:27:51,532 91073 DEBUG    sphinxcontrib.versioning.__main__        Removing: /var/folders/0y/zbsbwn_d3jb7vzsm2zqgyvp43vxg5g/T/tmpkbcovUsphinxcontrib_versioning

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

Are you using any other Sphinx extensions? Can you list them?

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Yea, here is the requirements file for the project.

Sphinx==1.4.5
sphinx-autobuild==0.6.0
sphinx_rtd_theme==0.1.9
sphinxcontrib-versioning==2.1.3

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

I added a print line to sphinx_.py. Try installing the wip_debug branch (commit 4a7d692)

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

Does it output something like:

=> Building ref: v1.0.0
Running Sphinx v1.4.4
DEBUGGING: ['_static/banner.css']
loading pickled environment... failed: source directory has changed
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Yup DEBUGGING: ['_static/banner.css'] shows up.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

I pushed another print line to that branch (commit e3889b8)

Does the file it prints exist?

(env) [Manzier sphinxcontrib-versioning (wip_debug)]$ sphinx-versioning build docs/ docs/_build/html
=> Reading config from docs/conf.py...
Running Sphinx v1.4.4
WARNING: extension 'sphinxcontrib.googleanalytics' returned an unsupported object from its setup() function; it should return None or a metadata dictionary
DEBUGGING: ['_static/banner.css']
DEBUGGING: /Users/robpol86/workspace/sphinxcontrib-versioning/sphinxcontrib/versioning/_static/banner.css
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 10 source files that are out of date
updating environment: 10 added, 0 changed, 0 removed
reading sources... [100%] tutorial                                                                                                                                                                                 
=> Gathering info about the remote git repository...
=> Getting list of all remote branches/tags...
^C
Aborted!
(env) [Manzier sphinxcontrib-versioning (wip_debug)]$ ls -lah /Users/robpol86/workspace/sphinxcontrib-versioning/sphinxcontrib/versioning/_static/banner.css
-rw-r--r--  1 robpol86  staff   710B Aug 22 16:57 /Users/robpol86/workspace/sphinxcontrib-versioning/sphinxcontrib/versioning/_static/banner.css
(env) [Manzier sphinxcontrib-versioning (wip_debug)]$ 

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Yup the file exists

.scv-banner {
    padding: 3px;
    border-radius: 2px;
    font-size: 80%;
    text-align: center;
    color: white;
    background: #d40 linear-gradient(-45deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 28px 28px;
}
.scv-banner > a {
    color: white;
}


.scv-sphinx_rtd_theme {
    background-color: #2980B9;
}


.scv-bizstyle {
    background-color: #336699;
}


.scv-classic {
    text-align: center !important;
}


.scv-traditional {
    text-align: center !important;
}

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

(bats-venv)⋊> ~/I/python-bats on bakerpm ◦ ls -la /Users/rmb938/IdeaProjects/sphinxcontrib-versioning/sphinxcontrib/versioning/_static/banner.css                                            14:36:44
-rw-r--r--  1 z00276y  DHC\Domain Users  710 Sep  2 14:06 /Users/rmb938/IdeaProjects/sphinxcontrib-versioning/sphinxcontrib/versioning/_static/banner.css

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

Can you paste all of your conf.py file? Specifically are you setting any html_* variables (such as html_context)?

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

scv_show_banner = True
scv_banner_greatest_tag = True
scv_whitelist_branches = ('master',)
scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst')
scv_sort = ('semver',)

extensions = []

templates_path = ['_templates']

source_suffix = '.rst'

master_doc = 'index'

project = u'Build All The Stuff'
author = u'Company CPE Team'
copyright = u'2016, '+author

language = None
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
pygments_style = 'sphinx'

todo_include_todos = False

import os  # noqa: E4
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd:  # only import and set the theme if we're building docs locally
    import sphinx_rtd_theme
    html_theme = 'sphinx_rtd_theme'
    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

html_static_path = ['_static']

html_context = {
    'css_files': [
        '_static/theme_overrides.css',  # override wide tables in RTD theme
    ],
}

html_use_smartypants = False

htmlhelp_basename = 'BuildAllTheStuffdoc'

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

There we go, that's it. readthedocs/readthedocs.org#2116

Setting html_context['css_files'] nukes all previously set css_files by other extensions.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

I can try to look into a way to have SCVersioning add its css file after all conf.py files are parsed so it won't be overridden.

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Ah I see, that seems like an annoying oversight. I can just manually add the banner.css for now since that is not to difficult.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

I'll try to fix it anyway since users might bake their css_files overrides in git tags.

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Ok, great. Thanks!

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

Try the wip_css_override branch (commit e73b041). Should work without you needing to manually include banner.css.

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Yup that added

<link rel="stylesheet" href="_static/banner.css" type="text/css" />

to the html but didn't copy banner.css into the _static folder.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

You mean that previous file path from the debug output no longer exists?

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Well the one that was printed out was within the sphinxcontrib-versioning checkout, not in my project.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 2, 2016

That's expected. Does the css render fine or does the browser say 404 in the JavaScript developer console?

@rmb938
Copy link
Author

rmb938 commented Sep 2, 2016

Console says 404

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 3, 2016

Looks like setting html_static_path was also wiping away SCVersioning's static directory. I just pushed a commit (b4895fb) to wip_css_override to handle that as well.

@Robpol86
Copy link
Collaborator

Robpol86 commented Sep 3, 2016

Let me know if you still have problems after I release 2.1.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants