Smart linking of text issues w/ sphinx-doc, "GitHub" / "GitLab" / etc. style. No roles / without roles being required.
https://github.com/ignatenkobrain/sphinxcontrib-issuetracker
import enum | |
import typing as t | |
from dataclasses import dataclass, field | |
from libtmux._internal.dataclasses import SkipDefaultFieldsReprMixin | |
class ServerOptions(enum.Enum): | |
backspace = "backspace" | |
buffer_limit = "buffer-limit" |
Run `python -m doctest example.py` |
# Most of this is copied from Sphinx | |
# Credit: | |
# - https://gist.github.com/agoose77/e8f0f8f7d7133e73483ca5c2dd7b907f | |
# - https://gist.github.com/asmeurer/5009f8845f864bd671769d10e07d1184 | |
from typing import Generator, List, TypeVar, Union | |
import sphinx.environment.collectors.toctree as toctree_collector | |
from docutils import nodes | |
from docutils.nodes import Element | |
from sphinx import addnodes |
Smart linking of text issues w/ sphinx-doc, "GitHub" / "GitLab" / etc. style. No roles / without roles being required.
https://github.com/ignatenkobrain/sphinxcontrib-issuetracker
develtech Individual Contributor License Agreement ("Agreement"), v1.0
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to develtech Software Foundation. ("develtech"). Except for the license granted herein to develtech and recipients of software distributed by develtech, You reserve all right, title, and interest in and to Your Contributions.
vcs-python Individual Contributor License Agreement ("Agreement"), v1.0
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to vcs-python Software Foundation. ("vcs-python"). Except for the license granted herein to vcs-python and recipients of software distributed by vcs-python, You reserve all right, title, and interest in and to Your Contributions.
tmux-python Individual Contributor License Agreement ("Agreement"), v1.0
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to tmux-python Software Foundation. ("tmux-python"). Except for the license granted herein to tmux-python and recipients of software distributed by tmux-python, You reserve all right, title, and interest in and to Your Contributions.
import React from "react"; | |
import Plotly from "plotly.js/dist/plotly"; | |
export interface ChartProps { | |
data?: Plotly.Data[]; | |
layout: Partial<Plotly.Layout>; | |
frames?: Plotly.Frame[]; | |
config?: Partial<Plotly.Config>; | |
// react-specific | |
style?: React.CSSProperties; |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
import toml | |
def read_pipenv_lock(): | |
with open('Pipfile.lock') as lock: | |
return json.loads(lock.read()) |