Skip to content

Commit

Permalink
Revert "chore: Implement docs site (eslint#15815)"
Browse files Browse the repository at this point in the history
This reverts commit d6e2036.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent 435b517 commit 8af7bd6
Show file tree
Hide file tree
Showing 259 changed files with 22 additions and 14,387 deletions.
4 changes: 0 additions & 4 deletions .gitignore
@@ -1,5 +1,4 @@
/node_modules
/docs/node_modules
test.js
coverage/
build/
Expand Down Expand Up @@ -27,6 +26,3 @@ versions.json
yarn.lock
package-lock.json
pnpm-lock.yaml

# Docs site output
_site
12 changes: 2 additions & 10 deletions Makefile.js
Expand Up @@ -622,18 +622,10 @@ target.gensite = function(prereleaseVersion) {

// 3. Copy docs folder to a temporary directory
echo("> Copying the docs folder (Step 3)");
docFiles.forEach(filePath => {
const pathToCopy = path.join("docs/src", filePath, "*"),
tempPath = path.join(TEMP_DIR, filePath);

if (!test("-d", tempPath)) {
mkdir(tempPath);
}

cp("-rf", pathToCopy, tempPath);
});
cp("-rf", "docs/src/*", TEMP_DIR);

// special case (for now)
cp("-f", "docs/src/pages/index.md", path.join(TEMP_DIR, "index.md"));
rm("-rf", path.join(TEMP_DIR, "pages"));

let versions = test("-f", "./versions.json") ? JSON.parse(cat("./versions.json")) : {};
Expand Down
360 changes: 0 additions & 360 deletions docs/.eleventy.js

This file was deleted.

0 comments on commit 8af7bd6

Please sign in to comment.