Skip to content

Commit 46d0488

Browse files
committed
docs: update api documentation to show all resources
1 parent eb28bad commit 46d0488

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CURRENT_YEAR ?= $(shell date +%Y)
77
# Quarto settings
88
QUARTO ?= quarto
99
# quartodoc doesn't like py3.8; Run using `--with` as it can conflict with the project's dependencies
10-
QUARTODOC ?= --with "quartodoc==0.8.1" quartodoc
10+
QUARTODOC ?= --no-cache --with "quartodoc==0.8.1" quartodoc
1111

1212
# Netlify settings
1313
NETLIFY_SITE_ID ?= 5cea1f56-7935-4387-975a-18a7905d15ee

docs/_quarto.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ quartodoc:
103103
- connect.groups
104104
- connect.jobs
105105
- connect.metrics
106+
- connect.metrics.usage
106107
- connect.oauth
108+
- connect.oauth.associations
109+
- connect.oauth.integrations
110+
- connect.oauth.sessions
107111
- connect.packages
108112
- connect.permissions
109113
- connect.repository

src/posit/connect/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from .content import Content
1313
from .context import Context, ContextManager, requires
1414
from .groups import Groups
15-
from .metrics import Metrics
16-
from .oauth import OAuth
15+
from .metrics.metrics import Metrics
16+
from .oauth.oauth import OAuth
1717
from .resources import _PaginatedResourceSequence, _ResourceSequence
1818
from .system import System
1919
from .tags import Tags
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
"""Metric resources."""
2+
13
from .metrics import Metrics as Metrics
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
"""OAuth resources."""
2+
13
from .oauth import Credentials as Credentials
24
from .oauth import OAuth as OAuth

0 commit comments

Comments
 (0)