Skip to content

Commit

Permalink
Deploying to gh-pages from @ f8908ee 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
deveaud-m committed Feb 15, 2024
1 parent 89de693 commit 3f478d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ <h2>Using the API<a class="headerlink" href="#using-the-api" title="Link to this
<ul>
<li><p>Get a REST API token either from the Fossology server under <strong>``User-&gt;Edit user account``</strong> or generate a token using the method available in this library:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">fossology</span> <span class="kn">import</span> <span class="n">fossology_token</span>
<span class="kn">from</span> <span class="nn">fossology.obj</span> <span class="kn">import</span> <span class="n">TokenScope</span>
<span class="kn">from</span> <span class="nn">fossology.enum</span> <span class="kn">import</span> <span class="n">TokenScope</span>

<span class="n">FOSSOLOGY_SERVER</span> <span class="o">=</span> <span class="s2">&quot;https://fossology.example.com/&quot;</span>
<span class="n">FOSSOLOGY_SERVER</span> <span class="o">=</span> <span class="s2">&quot;https://fossology.example.com/repo&quot;</span> <span class="c1"># Note the absense of the trailing slash, otherwise the token generation will fail</span>
<span class="n">FOSSOLOGY_USER</span> <span class="o">=</span> <span class="s2">&quot;fossy&quot;</span>
<span class="n">FOSSOLOGY_PASSWORD</span> <span class="o">=</span> <span class="s2">&quot;fossy&quot;</span>
<span class="n">TOKEN_NAME</span> <span class="o">=</span> <span class="s2">&quot;fossy_token&quot;</span>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 3f478d0

Please sign in to comment.