Skip to content

Instantly share code, notes, and snippets.

@wootsbot
Created June 6, 2019 03:20
Show Gist options
  • Save wootsbot/a64b4217d08502ee412fe56bcb19be19 to your computer and use it in GitHub Desktop.
Save wootsbot/a64b4217d08502ee412fe56bcb19be19 to your computer and use it in GitHub Desktop.
Publica tu artículo en codea.com.mx

Publica tu artículo en codea.com.mx

Clona el repositorio y prepara tu branch

$ git clone https://github.com/<mi-usuario-gitlab>/codea.git
$ cd codea/
$ git checkout canary
$ git checkout -b my-super-article
$ cp -r docs/markdown/{2019-02-15-args-y-kwags,2019-04-06-my-super-article-title}

Proceso de edición

  • Modifica docs/markdown/2019-04-06-my-super-article-title/index.md con tu contenido

  • Agrega un avatar en docs/avatar/

  • Modifica docs/author.yaml con tus datos

  • Modifica src/data/tags.yaml, recuerda agregar una descripción de los tags que vas a usar

    Los tags que agregas pueden ser usados en tu index.md en la sección de metadata (e.j. tags: ['xpath'])

Verifica como luce tu artículo en local

$ npm install -g yarn
$ yarn install
$ yarn develop

Sube tus cambios

$ git add docs/markdown/2019-04-06-my-super-article-title
$ git add docs/avatar/ docs/author.yaml src/data/tags.yaml
$ git commit -m 'feat(docs): my super article commit message'
  • Más commits si son necesarios
$ git push origin my-super-article

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment