fix(ci): fix tests for guide in root (#19526)
This commit is contained in:
committed by
Quincy Larson
parent
6e7aeeda2f
commit
164d900e96
@ -51,7 +51,7 @@ You can help us:
|
|||||||
|
|
||||||
Guide articles help you get a quick understanding of a technology concept. These are short, plain-English explanations that you can read before going on to more in-depth resources.
|
Guide articles help you get a quick understanding of a technology concept. These are short, plain-English explanations that you can read before going on to more in-depth resources.
|
||||||
|
|
||||||
You can find an [example article about HTML Anchor Elements here](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/client/src/pages/guide/english/html/elements/a-tag/index.md).
|
You can find an [example article about HTML Anchor Elements here](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/html/elements/a-tag/index.md).
|
||||||
|
|
||||||
**What can I write an article about?**
|
**What can I write an article about?**
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ const commonREs = require('../../utils/regEx');
|
|||||||
const readDir = require('../../utils/readDir');
|
const readDir = require('../../utils/readDir');
|
||||||
|
|
||||||
const { isAStubRE } = commonREs;
|
const { isAStubRE } = commonREs;
|
||||||
const pagesDir = path.resolve(__dirname, '../../src/pages/guide/english/');
|
const pagesDir = path.resolve(__dirname, '../../../guide/english/');
|
||||||
|
|
||||||
function withGuidePrefix(str) {
|
function withGuidePrefix(str) {
|
||||||
return `/guide${str}`;
|
return `/guide${str}`;
|
||||||
|
@ -25,7 +25,7 @@ describe('fcc-create-nav-data', () => {
|
|||||||
},
|
},
|
||||||
fileAbsolutePath: path.resolve(
|
fileAbsolutePath: path.resolve(
|
||||||
__dirname,
|
__dirname,
|
||||||
'../../src/pages/guide/english/php/functions/files/file-writing/index.md'
|
'../../../guide/english/php/functions/files/file-writing/index.md'
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Watch the video demonstration or follow the steps below it:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. Go into the **"pages"** folder (located in [`client/src/pages/guide`](/client/src/pages/guide)) and find the article stub you'd like to write or edit.
|
1. Go into the **"pages"** folder (located in [`guide`](/guide)) and find the article stub you'd like to write or edit.
|
||||||
|
|
||||||
> All stubs will be in an index.md file
|
> All stubs will be in an index.md file
|
||||||
|
|
||||||
|
@ -31,11 +31,11 @@ Há duas maneiras para propor uma mudança num repositório, depois de editares
|
|||||||
|
|
||||||
Vê a demonstração em vídeo ou segue os passos abaixo:
|
Vê a demonstração em vídeo ou segue os passos abaixo:
|
||||||
|
|
||||||
**[A FAZER]** Atualizar a gravação do GIF.
|
**[A FAZER]** Atualizar a gravação do GIF.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. Ir à pasta **"pages"** (localizada no [`client/src/pages/guide`](/client/src/pages/guide)) e encontrar o artigo que gostarias de escrever ou editar.
|
1. Ir à pasta **"pages"** (localizada no [`guide`](/guide)) e encontrar o artigo que gostarias de escrever ou editar.
|
||||||
|
|
||||||
> Todos os <i>stubs</i> estarão num ficheiro index.md
|
> Todos os <i>stubs</i> estarão num ficheiro index.md
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ Reviewers farão todos os esforços para resolver estes conflitos e combinar os
|
|||||||
|
|
||||||
Se um <i>pull requests</i> não é perfeito, o revisor poderá:
|
Se um <i>pull requests</i> não é perfeito, o revisor poderá:
|
||||||
|
|
||||||
- pedir mudanças ao contribuidor e adicionar a label *changes requested*
|
- pedir mudanças ao contribuidor e adicionar a label *changes requested*
|
||||||
- resolver problemas menores e fazer um <i>commit> no topo do PR
|
- resolver problemas menores e fazer um <i>commit> no topo do PR
|
||||||
|
|
||||||
#### Travis CI Build
|
#### Travis CI Build
|
||||||
@ -358,7 +358,7 @@ It seems that similar changes have already been accepted earlier for this articl
|
|||||||
|
|
||||||
If you feel you have more to add, please feel free to open up a new PR.
|
If you feel you have more to add, please feel free to open up a new PR.
|
||||||
|
|
||||||
Thanks again! 😊
|
Thanks again! 😊
|
||||||
|
|
||||||
> Hey @username
|
> Hey @username
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Mira este vídeo de demostración o sigue los siguientes pasos:
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
1. Ve a la carpets **"páginas"** (situado en [`client/src/pages/guide`](/client/src/pages/guide)) donde encontrarás el artículo raiz que quieras editar.
|
1. Ve a la carpets **"páginas"** (situado en [`guide`](/guide)) donde encontrarás el artículo raiz que quieras editar.
|
||||||
|
|
||||||
> Todas las raíces estarán en un archivo index.md
|
> Todas las raíces estarán en un archivo index.md
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ In case these assumptions are untrue, you might want to take a look at this <a>w
|
|||||||
|
|
||||||
But it would be unfair if we completely ignore the <a href='http://docs.python-guide.org/en/latest/starting/which-python/#the-state-of-python-2-vs-3' target='_blank' rel='nofollow'>Python 2 vs Python 3</a> debate.
|
But it would be unfair if we completely ignore the <a href='http://docs.python-guide.org/en/latest/starting/which-python/#the-state-of-python-2-vs-3' target='_blank' rel='nofollow'>Python 2 vs Python 3</a> debate.
|
||||||
|
|
||||||
If you do not have Python already installed check out our <a href='https://github.com/freeCodeCamp/freeCodeCamp/blob/master/client/src/pages/guide/english/python/installing-and-using-python-3/index.md'>Python Installation Guide</a>
|
If you do not have Python already installed check out our <a href='https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/python/installing-and-using-python-3/index.md'>Python Installation Guide</a>
|
||||||
|
|
||||||
## Virtual environment
|
## Virtual environment
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user