From a5279e2bd3b629ca7e21c62832220d6534581e10 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Sat, 23 Nov 2024 19:35:13 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=92=9A=20Fix=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.jinja2 | 2 +- .github/workflows/latest-changes.yml | 2 +- docs/conf.py | 20 +++++++++----------- docs/index.md | 4 ++-- docs/terms.md | 4 ++-- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/latest-changes.jinja2 b/.github/workflows/latest-changes.jinja2 index dd5ed40..f47fb90 100644 --- a/.github/workflows/latest-changes.jinja2 +++ b/.github/workflows/latest-changes.jinja2 @@ -1,2 +1,2 @@ -{{pr.title}} | [{{pr.number}}]({{pr.html_url}}) | [{{pr.user.login}}]({{pr.user.html_url}}) | {{pr.closed_at.date().isoformat()}} | +{{pr.title}} | [{{pr.number}}]({{pr.html_url}}) | [{{pr.user.login}}]({{pr.user.html_url}}) | {{pr.closed_at.date().isoformat()}} diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index 0f4691c..6ea7015 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -21,5 +21,5 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} latest_changes_file: docs/changelog.md - latest_changes_header: '--- \| --- \| --- \| --- \| ---\n' + latest_changes_header: '--- \| --- \| --- \| --- \n' template_file: ./.github/workflows/latest-changes.jinja2 diff --git a/docs/conf.py b/docs/conf.py index 599e37c..8acf05f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,30 +1,28 @@ import sys from pathlib import Path -from dirsync import sync HERE = Path(__file__).parent sys.path[:0] = [str(HERE), str(HERE.parent)] from lamin_sphinx import * # noqa -from lamin_sphinx import html_theme_options # noqa +from lamin_sphinx import html_theme_options, html_context # noqa -sync("../lamin-about/about", ".", "sync", exclude=["^.*README.md$"]) +project = "Lamin Legal" +html_title = f"{project}" +html_context["github_repo"] = "lamin-legal" # noqa -project = "Lamin" -html_title = "Company | Lamin" -html_context["github_repo"] = "lamin-about" # noqa - -ogp_site_url = "https://lamin.ai" +ogp_site_url = "https://legal.lamin.ai" +ogp_site_name = project html_theme_options["logo"] = { - "link": "https://lamin.ai", + "link": "/", "text": project, - "root": "https://lamin.ai", + "root": "https://legal.lamin.ai", } html_theme_options["icon_links"] = [ { "name": "GitHub", - "url": "https://github.com/laminlabs/lamin-about", + "url": "https://github.com/laminlabs/lamin-legal", "icon": "fa-brands fa-github", }, ] diff --git a/docs/index.md b/docs/index.md index 35c4c47..a18b2c4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,9 +1,9 @@ -# Lamin +# Lamin Legal ```{toctree} -:hidden: true :maxdepth: 1 privacy-policy terms +changelog ``` diff --git a/docs/terms.md b/docs/terms.md index 8093c89..e8e3d30 100644 --- a/docs/terms.md +++ b/docs/terms.md @@ -22,7 +22,7 @@ Lamin operates the lamin.ai website, which provides By using our service (LaminHub) you accept these Terms. If you disagree with these Terms, you must not use our Service. -In using our service, we may process your personal data; more information about this can be found in the [privacy policy](/legal/privacy-policy). +In using our service, we may process your personal data; more information about this can be found in the [privacy policy](/privacy-policy). ## Subscriptions @@ -46,7 +46,7 @@ Where our Service contains links to other sites, User Content, and resources pro ## Stored data -For privacy-related data, see the [privacy policy](/legal/privacy-policy). +For privacy-related data, see the [privacy policy](/privacy-policy). If you create a "LaminDB instance" and decide to "register it on lamin.ai", we store: From 2dd70d8a0092ab8a0fbfbc606940d252c1f78281 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Sat, 23 Nov 2024 19:39:57 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Fix=20link=20in=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 127b072..f36aae1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Lamin Legal -The site is served at [lamin.ai](https://legal.lamin.ai). +The site is served at [legal.lamin.ai](https://legal.lamin.ai). From 747a31c5476c15f9b92500a463e3a193915262a7 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Sat, 23 Nov 2024 19:43:25 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=9D=20Fix=20changelog=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 48ffad5..4a9e831 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,5 @@ # Changelog -Name | PR | Editor | Date | Number ---- | --- | --- | --- | --- +Name | PR | Editor | Date +--- | --- | --- | ---