From bb75911949179fbd98c0ee086d7ccf42253736c3 Mon Sep 17 00:00:00 2001 From: Vedant Andhale <90826179+VedantAndhale@users.noreply.github.com> Date: Sun, 19 Feb 2023 15:15:58 +0530 Subject: [PATCH] upt --- content/Resource Repositories.md | 0 content/_index.md | 7 ++---- content/notes/search.md | 40 -------------------------------- content/notes/setup.md | 32 ------------------------- 4 files changed, 2 insertions(+), 77 deletions(-) create mode 100644 content/Resource Repositories.md delete mode 100644 content/notes/search.md delete mode 100644 content/notes/setup.md diff --git a/content/Resource Repositories.md b/content/Resource Repositories.md new file mode 100644 index 000000000..e69de29bb diff --git a/content/_index.md b/content/_index.md index c11654e0d..4fdd92861 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,17 +1,14 @@ --- title: Vedant Andhale enableToc: false -tags: -- setup -weight: -5 --- - I am Vedant Andhale, an who just falled in love of python and data while learning wed development and now trying to be Pythonist. - And this is a collection of my notes, resources and just about everything I do everyday. #### My Content -- [[Today I Learned]] [Notes](#setup) -- Resource Repositories +- [[Today I Learned]] +- [[Resource Repositories]] - blogs -- comming soon #### Skills I have in my Portfolio currently diff --git a/content/notes/search.md b/content/notes/search.md deleted file mode 100644 index 4524a791d..000000000 --- a/content/notes/search.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: "Search" ---- - -Quartz supports two modes of searching through content. - -## Full-text -Full-text search is the default in Quartz. It produces results that *exactly* match the search query. This is easier to setup but usually produces lower quality matches. - -```yaml {title="data/config.yaml"} -# the default option -enableSemanticSearch: false -``` - -## Natural Language -Natural language search is powered by [Operand](https://beta.operand.ai/). It understands language like a person does and finds results that best match user intent. In this sense, it is closer to how Google Search works. - -Natural language search tends to produce higher quality results than full-text search. - -Here's how to set it up. - -1. Login or Register for a new Operand account. Click the verification link sent to your email, and you'll be redirected to the dashboard. (Note) You do not need to enter a credit card to create an account, or get started with the Operand API. The first $10 of usage each month is free. To learn more, see pricing. If you go over your free quota, we'll (politely) reach out and ask you to configure billing. -2. Create your first index. On the dashboard, under "Indexes", enter the name and description of your index, and click "Create Index". Note down the ID of the index (obtained by clicking on the index name in the list of indexes), as you'll need it in the next step. IDs are unique to each index, and look something like `uqv1duxxbdxu`. -3. Click into the index you've created. Under "Index Something", select "SITEMAP" from the dropdown and click "Add Source". -4. For the "Sitemap.xml URL", put your deployed site's base URL followed by `sitemap.xml`. For example, for `quartz.jzhao.xyz`, put `https://quartz.jzhao.xyz/sitemap.xml`. Leave the URL Regex empty. -5. Get your API key. On the dashboard, under "API Keys", you can manage your API keys. If you don't already have an API key, click "Create API Key". You'll need this for the next step. -6. Open `data/config.yaml`. Set `enableSemanticSearch` to `true`, `operandApiKey` to your copied key, and `operandIndexId` to the ID of the index we created from earlier.. - -```yaml {title="data/config.yaml"} -# the default option -search: - enableSemanticSearch: true - operandApiKey: "jp9k5hudse2a828z98kxd6z3payi8u90rnjf" - operandIndexId: "s0kf3bd6tldw" -``` -7. Push your changes to the site and wait for it to deploy. -8. Check the Operand dashboard and wait for your site to index. Enjoy natural language search powered by Operand! - - -Notes \ No newline at end of file diff --git a/content/notes/setup.md b/content/notes/setup.md deleted file mode 100644 index 00254159c..000000000 --- a/content/notes/setup.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: "Setup" -tags: -- setup -weight: -5 ---- - -## Making your own Quartz -Setting up Quartz requires a basic understanding of `git`. If you are unfamiliar, [this resource](https://resources.nwplus.io/2-beginner/how-to-git-github.html) is a great place to start! - -### Forking -> A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. - -Navigate to the GitHub repository for the Quartz project: - -📁 [Quartz Repository](https://github.com/jackyzha0/quartz) - -Then, Fork the repository into your own GitHub account. If you don't have an account, you can make on for free [here](https://github.com/join). More details about forking a repo can be found on [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/fork-a-repo). - -### Cloning -After you've made a fork of the repository, you need to download the files locally onto your machine. Ensure you have `git`, then type the following command replacing `YOUR-USERNAME` with your GitHub username. - -```shell -git clone https://github.com/YOUR-USERNAME/quartz -``` - -## Editing -Great! Now you have everything you need to start editing and growing your digital garden. If you're ready to start writing content already, check out the recommended flow for editing notes in Quartz. - -> ✏️ Step 2: [Editing Notes in Quartz](notes/editing.md) - -Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).