Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/sphinx-8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkidcrypto authored Aug 6, 2024
2 parents 6f40bee + 9f67412 commit 52a06b1
Show file tree
Hide file tree
Showing 39 changed files with 338 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@24.4.2
- uses: psf/black@24.8.0
2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Check for changes in setup.py/cfg
id: changed-files
uses: tj-actions/[email protected].6
uses: tj-actions/[email protected].7
with:
files: |
setup.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Check for changes in source code
id: changed-files
uses: tj-actions/[email protected].6
uses: tj-actions/[email protected].7
with:
files: |
ezsnmp/*.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Check for changes in source code
id: changed-files
uses: tj-actions/[email protected].6
uses: tj-actions/[email protected].7
with:
files: |
sphinx_docs_build/source/*.rst
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Check for changes in source code
id: changed-files
uses: tj-actions/[email protected].6
uses: tj-actions/[email protected].7
with:
files: |
ezsnmp/*.py
Expand All @@ -34,7 +34,7 @@ jobs:
needs: check-source-changes
steps:
- uses: actions/checkout@v4
- uses: psf/black@24.4.2
- uses: psf/black@24.8.0

build-and-test:
runs-on: ${{ matrix.os }}
Expand Down
Binary file modified docs/doctrees/compat.doctree
Binary file not shown.
Binary file modified docs/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/doctrees/exceptions.doctree
Binary file not shown.
Binary file modified docs/doctrees/ez.doctree
Binary file not shown.
Binary file modified docs/doctrees/helpers.doctree
Binary file not shown.
Binary file modified docs/doctrees/session.doctree
Binary file not shown.
Binary file modified docs/doctrees/utils.doctree
Binary file not shown.
Binary file modified docs/doctrees/variables.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 2539665f2dc007a29c283562d04175b8
config: 7fa8491b3869b1cfe74338e912e698fd
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion docs/html/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: 'V1.0.0c2',
VERSION: 'V1.0.0c3',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
7 changes: 4 additions & 3 deletions docs/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
4 changes: 2 additions & 2 deletions docs/html/compat.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ezsnmp.compat module &mdash; Ez SNMP V1.0.0c2 documentation</title>
<title>ezsnmp.compat module &mdash; Ez SNMP V1.0.0c3 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -15,7 +15,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=e122934b"></script>
<script src="_static/documentation_options.js?v=455a1752"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/html/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ezsnmp.exceptions module &mdash; Ez SNMP V1.0.0c2 documentation</title>
<title>ezsnmp.exceptions module &mdash; Ez SNMP V1.0.0c3 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />

Expand All @@ -15,7 +15,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=e122934b"></script>
<script src="_static/documentation_options.js?v=455a1752"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down
Loading

0 comments on commit 52a06b1

Please sign in to comment.