From 4926d1df780c0cd291a19fd2c0106de2da813268 Mon Sep 17 00:00:00 2001 From: Anton Burnashev Date: Mon, 21 Oct 2024 16:44:59 +0200 Subject: [PATCH] Remove the remaining blog references (#1970) --- CONTRIBUTING.md | 3 +-- docs/tools/utils.py | 7 ------- docs/website/README.md | 6 ++---- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8520736f60..d81fa8f77f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -68,12 +68,11 @@ feat/4922-add-avro-support * **fix** - a change that fixes a bug (ticket required) * **exp** - an experiment where we are testing a new idea or want to demonstrate something to the team, might turn into a `feat` later (ticket encouraged) * **test** - anything related to the tests (ticket encouraged) -* **blogs** - a new entry to our blog (ticket optional) * **docs** - a change to our docs (ticket optional) #### Ticket Numbers -We encourage you to attach your branches to a ticket, if none exists, create one and explain what you are doing. For `feat` and `fix` branches, tickets are mandatory, for `exp` and `test` branches encouraged and for `blogs` and `docs` branches optional. +We encourage you to attach your branches to a ticket, if none exists, create one and explain what you are doing. For `feat` and `fix` branches, tickets are mandatory, for `exp` and `test` branches encouraged and for `docs` branches optional. ### Submitting a hotfix We'll fix critical bugs and release `dlt` out of the schedule. Follow the regular procedure, but make your PR against **master** branch. Please ping us on Slack if you do it. diff --git a/docs/tools/utils.py b/docs/tools/utils.py index f71d68bd86..e7052c7e1a 100644 --- a/docs/tools/utils.py +++ b/docs/tools/utils.py @@ -6,7 +6,6 @@ DOCS_DIR = "../website/docs" -BLOG_DIR = "../website/blog" def collect_markdown_files(verbose: bool) -> List[str]: @@ -25,12 +24,6 @@ def collect_markdown_files(verbose: bool) -> List[str]: if verbose: fmt.echo(f"Discovered {filepath}") - # collect blog pages - for filepath in glob.glob(f"{BLOG_DIR}/**/*.md", recursive=True): - markdown_files.append(filepath) - if verbose: - fmt.echo(f"Discovered {filepath}") - if len(markdown_files) < 50: # sanity check fmt.error("Found too few files. Something went wrong.") exit(1) diff --git a/docs/website/README.md b/docs/website/README.md index 31bdbdde07..e27eac8642 100644 --- a/docs/website/README.md +++ b/docs/website/README.md @@ -2,7 +2,7 @@ The website is a Node.js application. -The documentation is generated using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. +The documentation is generated using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. Docusaurus consumes content from the `./docs` folder (at `./docs/website/docs` in this repo). The content includes: - markdown files @@ -11,8 +11,6 @@ Docusaurus consumes content from the `./docs` folder (at `./docs/website/docs` i On the production website the documentation appears at https://dlthub.com/docs and the default documentation page is https://dlthub.com/docs/intro. -Docusauraus also consumes blog posts (from `./blog`) and they appear at https://dlthub.com/docs/blog. - ## Installation With `website` as your working directory: @@ -83,7 +81,7 @@ This will execute the script at tools/update_versions.js. This tool will do the * It will create a future version called "devel" from the current commit of this repo. * It will set up docusaurus to display all of these versions correctly. -You can clear these versions with +You can clear these versions with ``` npm run clear-versions