Skip to content

Reparado links equivocados en .overrides #1111

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 2 commits into from
Oct 31, 2020

Conversation

aroquega
Copy link
Collaborator

Closes #1012

@aroquega
Copy link
Collaborator Author

@eamanu @iam-agf @cmaureir está es mi solución para los links, ya que son muy pocos los overrides, reviso todos, fuerza bruta. Y aparte acorte los links del reviewers-guide. ¿Qué les parece?

@aroquega aroquega changed the title fix missing links to .overrides' source code and improve reviewers-guide's links Reparado links equivocados en .overrides Oct 26, 2020
@gfant
Copy link
Contributor

gfant commented Oct 27, 2020

Pues, por como lo veo (y entiendo), la fuerza bruta que mencionas termina siendo una búsqueda lineal después de todo, así que no le veo mucho problema, ¿No?

@aroquega
Copy link
Collaborator Author

Sí, termina siendo una búsqueda líneal en la compilación, después cuando se contruye, el html aparecerá con el url correcto.

Las siguientes líneas están para que se pueda redireccionar
al correctamente el código fuente en python-docs-es.readthedocs.io/
#}
{% set overriden_pages = ['coc', 'CONTRIBUTING', 'faq', 'reviewers-guide','progress', 'README', 'translation-memory', 'upgrade-python-version'] %}
Copy link
Contributor

@mondeja mondeja Oct 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

El archivo README creo que no se renderiza, al menos no soy capaz de acceder a él en la URL https://python-docs-es.readthedocs.io/es/3.8/README.html

¿Sabes en qué URL se encuentra? Si no, podría eliminarse de la lista.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tienes razón, yo tampoco pude verlo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parece que sólo se encuentra ahí para indicar qué es el directorio .overrides. Yo lo eliminaría ya que no sirve para nada.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta lista la deberíamos poder armar automáticamente, porque si se quiere agregar un nuevo archivo o eliminarlo, deberíamos estar modificando esta línea. Aunque creo que se espera que no cambie demasiado

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

También se podría añadir un simple test que compruebe que la lista y los archivos a referenciar se encuentran sincronizados.

Copy link
Collaborator Author

@aroquega aroquega Oct 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un simple test, pero eso no tengo idea de cómo hacerlo. Creo que la lista se puede sacar dinámicamente con sólo sacar los .rst del .overrides en el mismo código donde se crea el banner de "ayúdanos a contribuir..." pero no sé qué tan eficiente sería eso.

Copy link
Contributor

@mondeja mondeja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por mí lo veo perfecto, excepto por un pequeño cambio

@cmaureir cmaureir added the hacktoberfest-accepted mantainer-approved contribution to hacktoberfest label Oct 31, 2020
@cmaureir cmaureir merged commit e1dea3b into python:3.8 Oct 31, 2020
@cmaureir
Copy link
Collaborator

Dejamos lo del test pendiente.
Muchas gracias @aroquega 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted mantainer-approved contribution to hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guía para contribuir no muestra su código.
5 participants