Skip to content

Commit

Permalink
Update docs URLs, add OpenGraph metadata
Browse files Browse the repository at this point in the history
Chrome complained about the `lmstudio-ai` subdomain being
too close to the main LMStudio domain name at `lmstudio.ai`.

Fixing this prompted several other URL related improvements.
  • Loading branch information
ncoghlan committed Oct 31, 2024
1 parent 2cb82b8 commit b463be8
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ the team is available through the `#dev-chat` channel within the

## Development Documentation

Our [development documentation](https://lmstudio-ai.github.io/venvstacks/development/)
Our [development documentation](https://venvstacks.lmstudio.ai/development/)
contains details on how to get started with contributing to `venvstacks`,
and details of our development processes.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Unreleased

See the fragment files in the `changelog.d directory`_.

.. _changelog.d directory: https://github.com/lmstudio-ai/venvstacks/tree/master/changelog.d
.. _changelog.d directory: https://github.com/lmstudio-ai/venvstacks/tree/main/changelog.d


.. scriv-insert-here
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ While the layers are archived and published separately, their dependency locking
allowing the application layers to share dependencies installed in the framework layers,
and the framework layers to share dependencies installed in the runtime layers.

Refer to the [Project Overview](https://lmstudio-ai.github.io/venvstacks/overview/) for an
Refer to the [Project Overview](https://venvstacks.lmstudio.ai/overview/) for an
example of specifying, locking, building, and publishing a set of environment stacks.


Expand Down
42 changes: 42 additions & 0 deletions changelog.d/20241101_003158_ncoghlan_update_docs_url.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.. A new scriv changelog fragment.
..
.. Uncomment the header that is right (remove the leading dots).
..
.. Removed
.. -------
..
.. - A bullet item for the Removed category.
..
.. Added
.. -----
..
.. - A bullet item for the Added category.
..
Changed
-------

- Update docs URL to `https://venvstacks.lmstudio.ai`__

- Add OpenGraph metadata to docs landing page

- Resolved several broken links in the documentation

- Documentation is now marked as being unversioned
(it is published directly from the main branch)

..
.. Deprecated
.. ----------
..
.. - A bullet item for the Deprecated category.
..
.. Fixed
.. -----
..
.. - A bullet item for the Fixed category.
..
.. Security
.. --------
..
.. - A bullet item for the Security category.
..
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = "venvstacks"
copyright = "2024, Element Labs Inc."
author = "LM Studio"
release = "0.1"
release = "latest" # Docs are currently unversioned


# -- General configuration ---------------------------------------------------
Expand All @@ -34,6 +34,9 @@
html_theme = "furo"
html_static_path = ["_static"]

# Docs are published directly to GitHub pages, consider them to be unversioned
html_title = "venvstacks documentation"

# Disable the generation of the various indexes
html_use_modindex = False
html_use_index = False
Expand Down
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Virtual Environment Stacks
==========================

.. meta::
:og:title: venvstacks - venvstacks Documentation
:og:type: website
:og:url: https://venvstacks.lmstudio.ai/
:og:description: Virtual Environment Stacks for Python - venvstacks Documentation

Machine learning and AI libraries for Python are big. Really big. Nobody wants to download
and install multiple copies of :pypi:`PyTorch <torch>` or :pypi:`CUDA <cuda-python>` if
they can reasonably avoid it.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ venvstacks = "venvstacks.cli:main"

[project.urls]
Homepage = "https://github.com/lmstudio-ai/venvstacks"
Documentation = "https://lmstudio-ai.github.io/venvstacks/"
Documentation = "https://venvstacks.lmstudio.ai/"
Issues = "https://github.com/lmstudio-ai/venvstacks/issues"
Changelog = "https://lmstudio-ai.github.io/venvstacks/changelog/"
Changelog = "https://venvstacks.lmstudio.ai/changelog/"

[build-system]
requires = ["pdm-backend"]
Expand Down

0 comments on commit b463be8

Please sign in to comment.