Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
5 Star 0 Fork 11

src-openEuler/python-mkdocstrings-python
Closed

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
master
Branches (2)
Tags (1)
master
openEuler-25.09
openEuler-25.09-release
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
The license selected for the repository is subject to the license used by the main branch of the repository.
master
Branches (2)
Tags (1)
master
openEuler-25.09
openEuler-25.09-release
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
master
Branches (2)
Tags (1)
master
openEuler-25.09
openEuler-25.09-release
python-mkdocstrings-python
/
python-mkdocstrings-python.spec
python-mkdocstrings-python
/
python-mkdocstrings-python.spec
python-mkdocstrings-python.spec 4.34 KB
Copy Edit Raw Blame History
sxtywg authored 2025年11月28日 13:20 +08:00 . Update package to version 2.0.0
%global _empty_manifest_terminate_build 0
%global pypi_name mkdocstrings-python
%global source_name mkdocstrings_python
%undefine _python_dist_allow_version_zero
Name: python-%{pypi_name}
Version: 2.0.0
Release: 1
Summary: A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.
License: ISC
URL: https://github.com/mkdocstrings/python
Source0: https://files.pythonhosted.org/packages/ca/0d/dab7b08ca7e5a38b033cd83565bb0f95f05e8f3df7bc273e793c2ad3576e/mkdocstrings_python-2.0.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
BuildRequires: python3-pdm-backend
BuildRequires: python3-certifi
BuildRequires: python3-build
%description
A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
A Python handler for mkdocstrings.The Python handler uses Griffe to collect documentation from Python source code.
%prep
%autosetup -p1 -n mkdocstrings_python-%{version}
# Fix setuptools_scm version issue
if [ -f pyproject.toml ]; then
sed -i '/^version *=/d' pyproject.toml
sed -i '/^\[project\]/a version = "%{version}"' pyproject.toml
sed -i '/dynamic *= *\[.*version.*\]/d' pyproject.toml
if grep -q '^\[tool\.setuptools_scm\]' pyproject.toml; then
sed -i '/^\[tool\.setuptools_scm\]/,/^\[/ {/^write_to *=/d}' pyproject.toml
sed -i '/^\[tool\.setuptools_scm\]/a fallback_version = "%{version}"' pyproject.toml
fi
fi
%build
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
%pyproject_build
%install
export PYTHONDONTWRITEBYTECODE=1
# Clean __pycache__ directories and .pyc/.pyo files
find %{buildroot} -name '*.py[co]' -delete
find %{buildroot} -type d -name '__pycache__' -exec rm -rf {} + 2>/dev/null || true
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/mkdocstrings_python*.dist-info/
%{python3_sitelib}/mkdocstrings_handlers
%changelog
* Fri Nov 28 2025 wanggang <wanggang1@kylinos.cn> - 2.0.0-1
- Update package to version 2.0.0
- Remove deprecated code for v2 (c10afdb by Timothée Mazzucotelli).
* Fri Nov 21 2025 zhangyuting <zhangyuting@kylinos.cn> - 1.19.0-1
- Update to 1.19.0
- Add python3-certifi to BuildRequires (fix SSL certificate file not found error)
* Thu Oct 09 2025 zengliwen <zengliwen@kylinos.cn> - 1.18.2-1
- Update package to version 1.18.2
normalize spaces to underscores when passing object to rendering context using its kind as key
Don't show implementation signature of __init__ method when overloads_only is true and it is merged into the class
Support PEP 695 generics (dc8c3ad by Victor Westerhuis). PR-221, Co-authored-by: Timothée Mazzucotelli dev@pawamoy.fr
Increase maximum recursion limit in case of deeply nested ASTs
* Thu May 29 2025 chengwei <chenwei@teligen.net> 1.16.11-1
- Update package with version 1.16.11
Fix highlighting for signature with known special names like __init__
Use default font-size for parameter headings
Prevent uppercasing H5 titles (by Material for MkDocs)
Use configured heading even when signature is not separated
Render attribute names without full path in ToC
* Fri May 16 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.16.10-1
- Update package with version 1.16.10
Fix inventory base_url being ignored
Use toc_label option in a few missing places
* Mon Mar 31 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.16.8-1
- Update package with version 1.16.8
* Wed Mar 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.8.0-1
- Update package with version 1.8.0
Release Insiders features of the 500ドル/month funding goal
Cross-references for type annotations in signatures
griffe-inherited-docstrings, a Griffe extension for inheriting docstrings
griffe2md, a tool to output API docs to Markdown using Griffe
Add option to unwrap Annotated types
Add doc-signature CSS class to separate signature code blocks
* Fri Aug 25 2023 zoujiancang<jczou@isoftstone.com> - 1.5.1-1
- Initial package
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

本项目已经迁移至 AtomGit || This project has been migrated to AtomGit || Linked: https://atomgit.com/src-openeuler/python-mkdocstrings-python
Cancel

Releases

No release

The Open Source Evaluation Index is derived from the OSS Compass evaluation system, which evaluates projects around the following three dimensions

1. Open source ecosystem

  • Productivity: To evaluate the ability of open-source projects to output software artifacts and open-source value.
  • Innovation: Used to evaluate the degree of diversity of open source software and its ecosystem.
  • Robustness: Used to evaluate the ability of open-source projects to resist internal and external interference and self recover in the face of changing development environments.

2. Collaboration, People, Software

  • Collaboration: represents the degree and depth of collaboration in open source development behavior.
  • Observe the influence of core personnel in open source projects, and examine the evaluations of users and developers on open source projects from a third-party perspective.
  • Software: Evaluate the value of products exported from open-source projects and their ultimate destination. It is also a concrete manifestation of "open source software", one of the oldest mainstream directions in open source evaluation.

3. Evaluation model

    Based on the dimensions of "open source ecosystem" and "collaboration, people, and software", identify quantifiable indicators directly or indirectly related to this goal, quantitatively evaluate the health and ecology of open source projects, and ultimately form an open source evaluation index.

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-mkdocstrings-python.git
git@gitee.com:src-openeuler/python-mkdocstrings-python.git
src-openeuler
python-mkdocstrings-python
python-mkdocstrings-python
master
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /