remove mentions of the site folder in doc and config files (#1769)

This commit is contained in:
Eugene Sviridov
2024-01-02 15:14:34 +01:00
committed by GitHub
parent f0422f415c
commit f8aafd63b9
4 changed files with 8 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ module.exports = {
}, },
parserOptions: { parserOptions: {
tsconfigRootDir: __dirname, tsconfigRootDir: __dirname,
project: ['./site/tsconfig.json', './packages/*/tsconfig.json'], project: ['./docs/tsconfig.json', './packages/*/tsconfig.json'],
ecmaVersion: 'latest', ecmaVersion: 'latest',
sourceType: 'module', sourceType: 'module',
}, },

View File

@@ -4,7 +4,6 @@ stats
node_modules node_modules
tests tests
scripts scripts
site
src src
build build
babel.config.js babel.config.js

View File

@@ -144,16 +144,19 @@ Root directories
```sh ```sh
lucide lucide
|
├── docs ├── docs
│ ├── guide
├── icons ├── icons
├── packages ├── packages
── scripts ── scripts
└── site
``` ```
### Docs ### Docs
The lucide.dev website is using [vitepress](https://vitepress.dev/) to generate the static website. The markdown files are located in the docs directory.
### Guides
Detailed documentation about: installation, guides, packages, design guides etc. Detailed documentation about: installation, guides, packages, design guides etc.
### Icons ### Icons
@@ -170,10 +173,6 @@ Includes all the (npm) packages of lucide.
Includes usefully scripts to automate certain jobs. Big part of the scripts is the template generation, for example it generates icon components for all the packages. These scripts are usually executed from the "scripts" section in the package.json. Includes usefully scripts to automate certain jobs. Big part of the scripts is the template generation, for example it generates icon components for all the packages. These scripts are usually executed from the "scripts" section in the package.json.
### site
The lucide.dev website is using [vitepress](https://vitepress.dev/) to generate the static website. The markdown files are located in the docs directory.
## Documentation ## Documentation
The documentation files are located in the [docs](https://github.com/lucide-icons/lucide/tree/main/docs) directory. All these markdown files will be loaded in the build of the lucide.dev website. The documentation files are located in the [docs](https://github.com/lucide-icons/lucide/tree/main/docs) directory. All these markdown files will be loaded in the build of the lucide.dev website.

View File

@@ -47,7 +47,7 @@ const cliArguments = getArgumentOptions(process.argv.slice(2));
} }
const changedFiles = output.files.filter( const changedFiles = output.files.filter(
({ filename }) => !filename.match(/site\/(.*)|(.*)package\.json|tags.json/g), ({ filename }) => !filename.match(/docs\/(.*)|(.*)package\.json|tags.json/g),
); );
const commits = await Promise.all(changedFiles.map(fetchCommits)); const commits = await Promise.all(changedFiles.map(fetchCommits));