Skip to content

Commit 6728b57

Browse files
gustavocidornelaswhoseoyster
authored andcommitted
Update documentation URLs with /docs as root directory
1 parent b1e3212 commit 6728b57

File tree

8 files changed

+39
-39
lines changed

8 files changed

+39
-39
lines changed

docs/source/reference/authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authentication
66
.. currentmodule:: openlayer
77

88
Openlayer uses API keys for client authentication. You can find your workspace API key on
9-
your `Account settings <https://docs.openlayer.com/documentation/how-to-guides/find-your-api-key>`_.
9+
your `Account settings <https://docs.openlayer.com/docs/how-to-guides/find-your-api-key>`_.
1010

1111
The authentication step happens when the ``OpenlayerClient`` is instantiated.
1212

docs/source/reference/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use these methods, you must have:
1515

1616
2. Created a project, using :obj:`openlayer.OpenlayerClient.create_project`
1717

18-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
18+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
1919

2020

2121
Staging area

docs/source/reference/monitoring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To use these methods, you must have:
1616

1717
2. Created a project, using :obj:`openlayer.OpenlayerClient.create_project`
1818

19-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
19+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
2020

2121

2222
Creating and loading inference pipelines

docs/source/reference/projects.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A project is the logical unit on the Openlayer platform that houses models, data
1010
and goals. You can create projects for any of the task types defined
1111
in :class:`tasks.TaskType`.
1212

13-
**Related guide**: `How to create and load projects <https://docs.openlayer.com/documentation/how-to-guides/creating-and-loading-projects>`_.
13+
**Related guide**: `How to create and load projects <https://docs.openlayer.com/docs/how-to-guides/creating-and-loading-projects>`_.
1414

1515
Project creation and loading
1616
----------------------------

examples/monitoring/llms/monitoring-llms.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"\n",
1111
"# <a id=\"top\">Monitoring LLMs</a>\n",
1212
"\n",
13-
"This notebook illustrates a typical monitoring flow for LLMs using Openlayer. For more details, refer to the [How to set up monitoring guide](https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring) from the documentation.\n",
13+
"This notebook illustrates a typical monitoring flow for LLMs using Openlayer. For more details, refer to the [How to set up monitoring guide](https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring) from the documentation.\n",
1414
"\n",
1515
"\n",
1616
"## <a id=\"toc\">Table of contents</a>\n",

openlayer/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ class OpenlayerClient(object):
5959
----------
6060
api_key : str
6161
Your API key. You can find your workspace API key in your
62-
`account settings <https://docs.openlayer.com/documentation/how-to-guides/find-your-api-key>`_
62+
`account settings <https://docs.openlayer.com/docs/how-to-guides/find-your-api-key>`_
6363
settings page.
6464
verbose : bool, default True
6565
Whether to print out success messages to the console. E.g., when data is
6666
successfully uploaded, a resource is staged, etc.
6767
6868
Examples
6969
--------
70-
**Relevant guide**: `How to find your API keys <https://docs.openlayer.com/documentation/how-to-guides/find-your-api-key>`_.
70+
**Relevant guide**: `How to find your API keys <https://docs.openlayer.com/docs/how-to-guides/find-your-api-key>`_.
7171
7272
Instantiate a client with your api key:
7373
@@ -112,7 +112,7 @@ def create_project(
112112
113113
Examples
114114
--------
115-
**Related guide**: `How to create and load projects <https://docs.openlayer.com/documentation/how-to-guides/creating-and-loading-projects>`_.
115+
**Related guide**: `How to create and load projects <https://docs.openlayer.com/docs/how-to-guides/creating-and-loading-projects>`_.
116116
117117
Instantiate the client and create the project:
118118
@@ -194,7 +194,7 @@ def load_project(self, name: str) -> Project:
194194
195195
Examples
196196
--------
197-
**Related guide**: `How to create and load projects <https://docs.openlayer.com/documentation/how-to-guides/creating-and-loading-projects>`_.
197+
**Related guide**: `How to create and load projects <https://docs.openlayer.com/docs/how-to-guides/creating-and-loading-projects>`_.
198198
199199
Instantiate the client and load the project:
200200
@@ -255,7 +255,7 @@ def create_or_load_project(
255255
256256
Examples
257257
--------
258-
**Related guide**: `How to create and load projects <https://docs.openlayer.com/documentation/how-to-guides/creating-and-loading-projects>`_.
258+
**Related guide**: `How to create and load projects <https://docs.openlayer.com/docs/how-to-guides/creating-and-loading-projects>`_.
259259
260260
Instantiate the client and create or load the project:
261261

openlayer/inference_pipelines.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def upload_reference_dataset(
6363
.. admonition:: What's in the dataset config?
6464
6565
The dataset configuration depends on the :obj:`TaskType`.
66-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
66+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
6767
for details.
6868
6969
dataset_config_file_path : str
@@ -73,7 +73,7 @@ def upload_reference_dataset(
7373
.. admonition:: What's in the dataset config file?
7474
7575
The dataset configuration YAML depends on the :obj:`TaskType`.
76-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
76+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
7777
for details.
7878
7979
Notes
@@ -83,7 +83,7 @@ def upload_reference_dataset(
8383
8484
Examples
8585
--------
86-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
86+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
8787
8888
First, instantiate the client and retrieve an existing inference pipeline:
8989
@@ -163,7 +163,7 @@ def upload_reference_dataframe(
163163
.. admonition:: What's in the dataset config?
164164
165165
The dataset configuration depends on the :obj:`TaskType`.
166-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
166+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
167167
for details.
168168
169169
dataset_config_file_path : str
@@ -173,7 +173,7 @@ def upload_reference_dataframe(
173173
.. admonition:: What's in the dataset config file?
174174
175175
The dataset configuration YAML depends on the :obj:`TaskType`.
176-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
176+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
177177
for details.
178178
179179
Notes
@@ -183,7 +183,7 @@ def upload_reference_dataframe(
183183
184184
Examples
185185
--------
186-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
186+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
187187
188188
First, instantiate the client and retrieve an existing inference pipeline:
189189
@@ -329,7 +329,7 @@ def publish_batch_data(self, *args, **kwargs):
329329
.. admonition:: What's in the config?
330330
331331
The configuration for a batch of data depends on the :obj:`TaskType`.
332-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
332+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
333333
for details. These configurations are
334334
the same for development and batches of production data.
335335
@@ -340,7 +340,7 @@ def publish_batch_data(self, *args, **kwargs):
340340
.. admonition:: What's in the config file?
341341
342342
The configuration for a batch of data depends on the :obj:`TaskType`.
343-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
343+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
344344
for details. These configurations are
345345
the same for development and batches of production data.
346346
@@ -360,7 +360,7 @@ def publish_batch_data(self, *args, **kwargs):
360360
361361
Examples
362362
--------
363-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
363+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
364364
365365
First, instantiate the client and retrieve an existing inference pipeline:
366366
@@ -415,7 +415,7 @@ def publish_ground_truths(self, *args, **kwargs):
415415
416416
Examples
417417
--------
418-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
418+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
419419
420420
Let's say you have a batch of production data already published to the
421421
Openlayer platform (with the method :obj:`publish_batch_data`). Now, you want

openlayer/projects.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def add_model(
4747
This is the method for every model upload, regardless of whether you want to add a shell model,
4848
a full model, or a direct-to-API model (for LLMs-only).
4949
50-
Refer to the `Knowledge base guide on model upload <https://docs.openlayer.com/knowledge-base/development/versioning#adding-models>`_ to
50+
Refer to the `Knowledge base guide on model upload <https://docs.openlayer.com/docs/knowledge-base/development/versioning#adding-models>`_ to
5151
learn more about the differences between these options.
5252
5353
Parameters
@@ -59,7 +59,7 @@ def add_model(
5959
.. admonition:: What's in the model config dict?
6060
6161
The model configuration depends on the project's :obj:`tasks.TaskType`.
62-
Refer to the `How to write model configs <https://docs.openlayer.com/documentation/how-to-guides/write-model-configs>`_
62+
Refer to the `How to write model configs <https://docs.openlayer.com/docs/how-to-guides/write-model-configs>`_
6363
guide for details.
6464
6565
model_config_file_path : str
@@ -69,7 +69,7 @@ def add_model(
6969
.. admonition:: What's in the model config file?
7070
7171
The model configuration YAML depends on the project's :obj:`tasks.TaskType`.
72-
Refer to the `How to write model configs <https://docs.openlayer.com/documentation/how-to-guides/write-model-configs>`_
72+
Refer to the `How to write model configs <https://docs.openlayer.com/docs/how-to-guides/write-model-configs>`_
7373
guide for details.
7474
7575
model_package_dir : str, default None
@@ -108,7 +108,7 @@ def add_model(
108108
109109
Examples
110110
--------
111-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
111+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
112112
113113
First, instantiate the client:
114114
@@ -158,7 +158,7 @@ def add_model(
158158
.. admonition:: What's in the model config?
159159
160160
The model configuration depends on the project's :obj:`tasks.TaskType`.
161-
Refer to the `How to write model configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-model-configs>`_
161+
Refer to the `How to write model configs guides <https://docs.openlayer.com/docs/how-to-guides/write-model-configs>`_
162162
for details.
163163
164164
Then, you can add the model to the project with:
@@ -225,7 +225,7 @@ def add_dataset(
225225
.. admonition:: What's in the dataset config?
226226
227227
The dataset configuration depends on the project's :obj:`tasks.TaskType`.
228-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
228+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
229229
for details.
230230
231231
dataset_config_file_path : str
@@ -235,7 +235,7 @@ def add_dataset(
235235
.. admonition:: What's in the dataset config file?
236236
237237
The dataset configuration YAML depends on the project's :obj:`tasks.TaskType`.
238-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
238+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
239239
for details.
240240
241241
force : bool
@@ -251,7 +251,7 @@ def add_dataset(
251251
252252
Examples
253253
--------
254-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
254+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
255255
256256
First, instantiate the client:
257257
@@ -296,7 +296,7 @@ def add_dataset(
296296
.. admonition:: What's in the dataset config?
297297
298298
The dataset configuration depends on the project's :obj:`tasks.TaskType`.
299-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
299+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
300300
for details.
301301
302302
You can now add this dataset to your project with:
@@ -334,7 +334,7 @@ def add_dataframe(self, *args, **kwargs):
334334
.. admonition:: What's in the dataset config?
335335
336336
The dataset configuration depends on the project's :obj:`tasks.TaskType`.
337-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
337+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
338338
for details.
339339
340340
dataset_config_file_path : str
@@ -344,7 +344,7 @@ def add_dataframe(self, *args, **kwargs):
344344
.. admonition:: What's in the dataset config file?
345345
346346
The dataset configuration YAML depends on the project's :obj:`tasks.TaskType`.
347-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
347+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
348348
for details.
349349
350350
force : bool
@@ -360,7 +360,7 @@ def add_dataframe(self, *args, **kwargs):
360360
361361
Examples
362362
--------
363-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
363+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
364364
365365
First, instantiate the client:
366366
@@ -404,7 +404,7 @@ def add_dataframe(self, *args, **kwargs):
404404
.. admonition:: What's in the dataset config?
405405
406406
The dataset configuration depends on the project's :obj:`tasks.TaskType`.
407-
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/documentation/how-to-guides/write-dataset-configs>`_
407+
Refer to the `How to write dataset configs guides <https://docs.openlayer.com/docs/how-to-guides/write-dataset-configs>`_
408408
for details.
409409
410410
You can now add this dataset to your project with:
@@ -448,7 +448,7 @@ def commit(self, *args, **kwargs):
448448
449449
Examples
450450
--------
451-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
451+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
452452
453453
A commit message is associated with a project version. The commit message is
454454
supposed to be a short description of the changes made from one version to
@@ -485,7 +485,7 @@ def push(self, *args, **kwargs):
485485
486486
Examples
487487
--------
488-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
488+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
489489
490490
Let's say you have a project with a model and a dataset staged and committed.
491491
You can confirm these resources are indeed in the staging area using the
@@ -541,7 +541,7 @@ def status(self, *args, **kwargs):
541541
542542
Examples
543543
--------
544-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
544+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
545545
546546
You can use the :obj:`status` method to check the state of the staging area.
547547
@@ -576,7 +576,7 @@ def restore(self, *args, **kwargs):
576576
577577
Examples
578578
--------
579-
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/documentation/how-to-guides/upload-datasets-and-models>`_.
579+
**Related guide**: `How to upload datasets and models for development <https://docs.openlayer.com/docs/how-to-guides/upload-datasets-and-models>`_.
580580
581581
Let's say you have initially used the :obj:`add_model` method to add a model to the
582582
staging area.
@@ -642,7 +642,7 @@ def create_inference_pipeline(self, *args, **kwargs):
642642
643643
Examples
644644
--------
645-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
645+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
646646
647647
Instantiate the client and retrieve an existing project:
648648
@@ -693,7 +693,7 @@ def load_inference_pipeline(self, *args, **kwargs):
693693
694694
Examples
695695
--------
696-
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/documentation/how-to-guides/set-up-monitoring>`_.
696+
**Related guide**: `How to set up monitoring <https://docs.openlayer.com/docs/how-to-guides/set-up-monitoring>`_.
697697
698698
Instantiate the client and load a project:
699699

0 commit comments

Comments
 (0)