Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Actualizada rama
Browse files Browse the repository at this point in the history
  • Loading branch information
Parodper committed Mar 8, 2024
2 parents a43d19a + 0c7d783 commit 6418b4b
Show file tree
Hide file tree
Showing 236 changed files with 2,796 additions and 545 deletions.
11 changes: 10 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"contributors": [
{
"login": "TeenBiscuits",
"name": "Pablo Portas",
"name": "Pablo Portas López",
"avatar_url": "https://avatars.githubusercontent.com/u/81629707?v=4",
"profile": "https://github.com/TeenBiscuits",
"contributions": [
Expand Down Expand Up @@ -54,6 +54,15 @@
"contributions": [
"content"
]
},
{
"login": "Sprinter05",
"name": "Sprinter",
"avatar_url": "https://avatars.githubusercontent.com/u/69991979?v=4",
"profile": "https://sprinter05.github.io/",
"contributions": [
"code"
]
}
]
}
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

github: [TeenBiscuits]
ko_fi: pablopl
custom: [paypal.me/pabloportaslopez]
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/informe-de-error-bug.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

name: "🐛 Informe de error/bug"
description: "Crea un informe para ayudarnos a mejorar"
title: "[BUG] <bug>"
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/solicitud-de-funcion.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

name: "💡 Solicitud de función"
description: "Sugiere una idea para este proyecto."
title: '[SOLICITUD DE FUNCIÓN] <mejora>'
Expand Down
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

## ¿Qué he añadido?

- Lista de lo que he añadido
- Lista de lo que he añadido
88 changes: 40 additions & 48 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

name: Construir documentación

on:
push:
paths: ["docs/**"]
branches: ["main"]

permissions:
id-token: write
pages: write

env:
INSTANCE: docs/pro
ARTIFACT: webHelpPRO2-all.zip
# Writerside docker image version
DOCKER_VERSION: 233.14389
ALGOLIA_ARTIFACT: algolia-indexes-PRO.zip
INSTANCE: 'docs/pro'
ARTIFACT: 'webHelpPRO2-all.zip'
DOCKER_VERSION: '233.14389'
ALGOLIA_ARTIFACT: 'algolia-indexes-PRO.zip'
ALGOLIA_APP_NAME: '0K3UBN277V'
ALGOLIA_INDEX_NAME: 'pro2324'
ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}'
CONFIG_JSON_PRODUCT: 'PRO'
CONFIG_JSON_VERSION: '2023-2024'

jobs:
construir:
Expand All @@ -30,55 +39,17 @@ jobs:
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}

- name: Subir artefacto
- name: Subir artefacto con los resultados de la construcción
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
artifacts/report.json
artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 7

- name: Subir algolia-indexes
uses: actions/upload-artifact@v3
with:
name: algolia-indexes
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 7

publicar-indexes:
env:
ALGOLIA_APP_NAME: 0K3UBN277V
ALGOLIA_INDEX_NAME: pro2324
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}
ALGOLIA_ARTIFACT: algolia-indexes-PRO.zip
CONFIG_JSON_PRODUCT: PRO
CONFIG_JSON_VERSION: 2023-2024
# Requires the build-job results
needs: construir
runs-on: ubuntu-latest
container:
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2

steps:
- name: Descargar artefacto
uses: actions/download-artifact@v3
with:
name: algolia-indexes
- name: Unzip artefacto
run: |
unzip -O UTF-8 -qq ${{ env.ALGOLIA_ARTIFACT }} -d algolia-indexes
env "algolia-key=${{env.ALGOLIA_KEY}}" java -jar /opt/builder/help-publication-agent.jar \
update-index \
--application-name ${{env.ALGOLIA_APP_NAME}} \
--index-name ${{env.ALGOLIA_INDEX_NAME}} \
--product ${{env.CONFIG_JSON_PRODUCT}} \
--version ${{env.CONFIG_JSON_VERSION}} \
--index-directory algolia-indexes/ \
2>&1 | tee algolia-update-index-log.txt
comprobar:
# Requires build job results
needs: construir
runs-on: ubuntu-latest

Expand All @@ -98,8 +69,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Requires the build job results
needs: comprobar
needs: [construir, comprobar]
runs-on: ubuntu-latest
steps:
- name: Descargar artefacto
Expand All @@ -113,11 +83,33 @@ jobs:
- name: Configurar Pages
uses: actions/configure-pages@v4

- name: Subir artefacto
- name: Empaquetar y subir artefacto de Pages
uses: actions/upload-pages-artifact@v3
with:
path: dir

- name: Implementar en GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

publicar-indexes:
needs: [construir, comprobar, publicar]
runs-on: ubuntu-latest
container:
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2
steps:
- name: Descargar artefacto
uses: actions/download-artifact@v3
with:
name: docs
- name: Unzip artefacto
run: |
unzip -O UTF-8 -qq '${{ env.ALGOLIA_ARTIFACT }}' -d algolia-indexes
env algolia-key='${{env.ALGOLIA_KEY}}' java -jar /opt/builder/help-publication-agent.jar \
update-index \
--application-name '${{env.ALGOLIA_APP_NAME}}' \
--index-name '${{env.ALGOLIA_INDEX_NAME}}' \
--product '${{env.CONFIG_JSON_PRODUCT}}' \
--version '${{env.CONFIG_JSON_VERSION}}' \
--index-directory algolia-indexes/ \
2>&1 | tee algolia-update-index-log.txt
67 changes: 67 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only

name: Comprobar documentación

on:
pull_request:
types: ["opened"]
paths: ["docs/**"]

permissions:
id-token: write
pages: write

env:
INSTANCE: 'docs/pro'
ARTIFACT: 'webHelpPRO2-all.zip'
DOCKER_VERSION: '233.14389'
ALGOLIA_ARTIFACT: 'algolia-indexes-PRO.zip'
ALGOLIA_APP_NAME: '0K3UBN277V'
ALGOLIA_INDEX_NAME: 'pro2324'
ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}'
CONFIG_JSON_PRODUCT: 'PRO'
CONFIG_JSON_VERSION: '2023-2024'

jobs:
construir:
runs-on: ubuntu-latest

steps:
- name: Checkout repositorio
uses: actions/checkout@v4

- name: Construir documentación de Writerside usando Docker
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}

- name: Subir artefacto con los resultados de la construcción
uses: actions/upload-artifact@v4
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
artifacts/report.json
artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 2

comprobar:
needs: construir
runs-on: ubuntu-latest

steps:
- name: Descargar artefactos
uses: actions/download-artifact@v4
with:
name: docs
path: artifacts

- name: Comprobar documentación
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Pablo Portas López
# SPDX-FileCopyrightText: 2023 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0

Expand Down
16 changes: 0 additions & 16 deletions .idea/runConfigurations/Export_to_PDF.xml

This file was deleted.

18 changes: 18 additions & 0 deletions .idea/runConfigurations/Exportar_a_PDF.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 41 additions & 6 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,10 +1,45 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Pro2324
Upstream-Contact: Pablo Portas Lopez <[email protected]>
Upstream-Contact: Pablo Portas Lopez <[email protected]>
Source: https://github.com/TeenBiscuits/Pro2324

# Sample paragraph, commented out:
#
# Files: src/*
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...
Files: logo/*
docs/images/Logo.*
docs/images/GitHubSponsors.png
docs/topics/*
Copyright: 2023 Pablo Portas Lopez <[email protected]>
License: CC-BY-NC-4.0

Files: .github/*
.all-contributorsrc
CONTRIBUTING.md
README.md
SECURITY.md
.idea/*
docs/cfg/*
docs/keymap.xml
docs/pro.tree
docs/redirection-rules.xml
docs/writerside.cfg
Copyright: 2024 Pablo Portas Lopez <[email protected]>
License: GPL-3.0-only

Files: CODE_OF_CONDUCT.md
Copyright: 2021 Ethical Source
License: CC-BY-4.0

Files: docs/images/Tutoriales/Compilador/*
Copyright: Abel Cedron Santaeufemia
License: CC-BY-4.0

Files: docs/topics/03-Apuntes/Pro-1/*
Copyright: 2024 Daniel Feito Pin
License: CC-BY-NC-4.0

Files: docs/images/Apuntes/Bibliografia/C-Programming-Book.png
Copyright: K. N. King
License: CC0-1.0

Files: src/Ejemplos/TAD_Rational/*
Copyright: Facultade de Informatica de A Coruna
License: CC-BY-4.0
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023 Pablo Portas López
# SPDX-FileCopyrightText: 2023 Pablo Portas López <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0

Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ no.
## Aplicación

Instancias de comportamiento abusivo, acosador o inaceptable de otro modo podrán ser reportadas a los administradores de
la comunidad responsables del cumplimiento a través de [email protected]. Todas las quejas
la comunidad responsables del cumplimiento a través de [email protected]. Todas las quejas
serán evaluadas e investigadas de una manera puntual y justa.

Todos los administradores de la comunidad están obligados a respetar la privacidad y la seguridad de quienes reporten
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2024 Pablo Portas López
SPDX-FileCopyrightText: 2024 Pablo Portas López <[email protected]>
SPDX-License-Identifier: GPL-3.0-only
-->
Expand Down
Loading

0 comments on commit 6418b4b

Please sign in to comment.