Skip to content

Bad github link generated for CircuitPythonOrg library #147

@lesamouraipourpre

Description

@lesamouraipourpre

When generating a CircuitPythonOrg library there is a bad github link in docs/index.rst

> cookiecutter gh:adafruit/cookiecutter-adafruit-circuitpython
You've downloaded /home/purpleankh/.cookiecutters/cookiecutter-adafruit-circuitpython before. Is it okay to delete and re-download it? [yes]: yes
Select target_bundle:
1 - Adafruit
2 - Community
Choose from 1, 2 [1]: 2
github_user []: example
author_name: Example Example
company []: Example Company
library_name: example example
library_description []: Example
library_keywords []: example
library_prefix []: 
adafruit_pid []: 
requires_bus_device []: 
requires_register []: 
other_requirements []: 
pypi_release [no]: yes
sphinx_docs [no]: yes

grep -ir "github.*example" *

docs/index.rst:    Download <https://github.com/example/CircuitPython_example_example/releases/latest>
example_example.py:__repo__ = "https://github.com/example/CircuitPython_Org_example_example.git"
README.rst:.. image:: https://github.com/example/CircuitPython_Org_example_example/workflows/Build%20CI/badge.svg
README.rst:    :target: https://github.com/example/CircuitPython_Org_example_example/actions
README.rst:<https://github.com/example/CircuitPython_Org_example_example/blob/HEAD/CODE_OF_CONDUCT.md>`_
setup.py:    url="https://github.com/example/CircuitPython_Org_example_example.git",

The docs/index.rst link should be https://github.com/example/CircuitPython_Org_example_example/releases/latest

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions