fix(ci): fix tests for guide in root (#19526)

This commit is contained in:
mrugesh mohapatra
2018-10-16 22:12:46 +05:30
committed by Quincy Larson
parent 6e7aeeda2f
commit 164d900e96
7 changed files with 10 additions and 10 deletions

View File

@ -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.
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?**

View File

@ -5,7 +5,7 @@ const commonREs = require('../../utils/regEx');
const readDir = require('../../utils/readDir');
const { isAStubRE } = commonREs;
const pagesDir = path.resolve(__dirname, '../../src/pages/guide/english/');
const pagesDir = path.resolve(__dirname, '../../../guide/english/');
function withGuidePrefix(str) {
return `/guide${str}`;

View File

@ -25,7 +25,7 @@ describe('fcc-create-nav-data', () => {
},
fileAbsolutePath: path.resolve(
__dirname,
'../../src/pages/guide/english/php/functions/files/file-writing/index.md'
'../../../guide/english/php/functions/files/file-writing/index.md'
)
};

View File

@ -35,7 +35,7 @@ Watch the video demonstration or follow the steps below it:
![GIF showing the GitHub interface steps](#)
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

View File

@ -35,7 +35,7 @@ Vê a demonstração em vídeo ou segue os passos abaixo:
![GIF a mostrar os passos do GitHub interface](#)
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

View File

@ -35,7 +35,7 @@ Mira este vídeo de demostración o sigue los siguientes pasos:
![GIF showing the GitHub interface steps](#)
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

View File

@ -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.
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