diff --git a/postdoc.config.js b/postdoc.config.js index 1cb9bbda..22aa08ac 100644 --- a/postdoc.config.js +++ b/postdoc.config.js @@ -6,7 +6,8 @@ const { BASE_URL = 'https://nightwatchjs.org', MD_DOCS_FOLDER = './docs', API_DOCS_FOLDER = resolve('../nightwatch/lib/api'), - EXAMPLES_FOLDER = 'node_modules/nightwatch-examples/tests' + EXAMPLES_FOLDER = 'node_modules/nightwatch-examples/tests', + WEBDRIVER_SPEC = 'https://www.w3.org/TR/webdriver', } = env; export default { @@ -87,6 +88,7 @@ export default { appSettings: { version: NIGHTWATCH_VERSION, baseUrl: BASE_URL, + webdriverSpec : WEBDRIVER_SPEC, apiRepoUrl: 'https://github.com', githubRepo: 'nightwatchjs/nightwatch', docsRepoUrl: 'https://github.com/nightwatchjs/nightwatch-docs/blob/', @@ -102,4 +104,4 @@ export default { logger: { quiet: false } -}; +}; \ No newline at end of file diff --git a/src/includes/api-method.ejs b/src/includes/api-method.ejs index 71d3bcca..a2f682a4 100644 --- a/src/includes/api-method.ejs +++ b/src/includes/api-method.ejs @@ -143,7 +143,7 @@ npx nightwatch <%- method.exampleLink %> <% if (method.link) { %>