Skip to content

Commit

Permalink
[docs] add a logo, stop mocking libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Mar 25, 2022
1 parent 992c18f commit 2938289
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 24 deletions.
72 changes: 72 additions & 0 deletions docs/_static/aioquic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 1 addition & 24 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,6 @@
sys.path.insert(0, os.path.abspath('..'))


class MockBuffer:
Buffer = None
BufferReadError = None
BufferWriteError = None


class MockCrypto:
AEAD = None
CryptoError = ValueError
HeaderProtection = None


class MockPylsqpack:
Decoder = None
Encoder = None
StreamBlocked = None


sys.modules.update({
"aioquic._buffer": MockBuffer(),
"aioquic._crypto": MockCrypto(),
"pylsqpack": MockPylsqpack(),
})

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -126,6 +102,7 @@ class MockPylsqpack:
'github_button': True,
'github_user': 'aiortc',
'github_repo': 'aioquic',
'logo': 'aioquic.svg',
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down

0 comments on commit 2938289

Please sign in to comment.