Skip to content

Keep documentation for previous spec versions alongside draft #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jan 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Resolve accidental merge artifact
  • Loading branch information
honno committed Jan 6, 2023
commit c74b390417c056e67cba31debb08920edd3f73d1
6 changes: 0 additions & 6 deletions src/_array_api_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,9 @@

def process_signature(app, what, name, obj, options, signature, return_annotation):
if signature:
<<<<<<<< HEAD:spec/2021.12/conf.py
signature = signature.replace("signatures._types.", "")
if return_annotation:
return_annotation = return_annotation.replace("signatures._types.", "")
========
signature = re.sub(r_type_prefix, "", signature)
if return_annotation:
return_annotation = re.sub(r_type_prefix, "", return_annotation)
>>>>>>>> bbd0384 (Squashed old all-versions work):src/_array_api_conf.py
return signature, return_annotation

def setup(app):
Expand Down