Skip to content

Commit b9c5e1c

Browse files
committed
pydoc url_template update
1 parent da26089 commit b9c5e1c

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

docs/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Common functions for the GA4 Data Import API code samples.
3434
def get_project_number(project_id: str)
3535
```
3636

37-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/common.py#L9)
37+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/common.py#L9)
3838

3939
Get the project number from the project id.
4040

@@ -61,7 +61,7 @@ This file contains functions for creating a Compute Engine instance and static a
6161
def create_static_address(project_id: str, region: str, instance_name: str)
6262
```
6363

64-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/compute.py#L32)
64+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/compute.py#L32)
6565

6666
Create a static address with the provided name, project id, and region.
6767

@@ -90,7 +90,7 @@ def create_instance(instance_name: str,
9090
service_account_email: str = "")
9191
```
9292

93-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/compute.py#L66)
93+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/compute.py#L66)
9494

9595
Create a Compute Engine instance with the provided name, project id, zone, and bucket name.
9696

@@ -119,7 +119,7 @@ def add_server_pub_key(project_id: str, zone: str, instance_name: str,
119119
pub_key: str, username: str)
120120
```
121121

122-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/compute.py#L202)
122+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/compute.py#L202)
123123

124124
Add the provided SSH public key to the instance metadata.
125125

@@ -145,7 +145,7 @@ This file contains functions for interacting with Google Cloud Storage.
145145
def create_bucket(bucket_name: str, region: str)
146146
```
147147

148-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/storage.py#L9)
148+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/storage.py#L9)
149149

150150
Create a new bucket with the provided name in the provided project.
151151

@@ -163,7 +163,7 @@ Create a new bucket with the provided name in the provided project.
163163
def add_bucket_read_access(bucket_name: str, service_account_email: str)
164164
```
165165

166-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/storage.py#L28)
166+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/storage.py#L28)
167167

168168
Add read access to the bucket for the compute service account.
169169

@@ -186,7 +186,7 @@ Workflow deployment module to configure BigQuery export to Cloud Storage.
186186
def deploy_workflow(project_id, region, workflow_id, service_account_email)
187187
```
188188

189-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/workflow.py#L20)
189+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/workflow.py#L20)
190190

191191
Deploy a workflow to the project.
192192

@@ -206,7 +206,7 @@ def deploy_scheduler(project_id, region, scheduler_id, service_account_email,
206206
schedule, workflow_id, query, storage_path)
207207
```
208208

209-
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/d6a7f4f354ca8587921f45596c05f894618443f5/ga4_data_import/workflow.py#L90)
209+
[[view_source]](https://github.com/max-ostapenko/ga4_data_import/blob/main/ga4_data_import/workflow.py#L90)
210210

211211
Deploy a trigger to the project.
212212

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ga4_data_import"
3-
version = "0.1.6"
3+
version = "0.1.60"
44
description = "Google Analytics 4 Data Import pipeline"
55
readme = "README.md"
66
requires-python = ">=3.7"
@@ -22,8 +22,6 @@ classifiers = [
2222
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
2323

2424
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.7",
26-
"Programming Language :: Python :: 3.8",
2725
"Programming Language :: Python :: 3.9",
2826
"Programming Language :: Python :: 3.10",
2927
"Programming Language :: Python :: 3.11",
@@ -74,8 +72,8 @@ type = "markdown"
7472
filename = "./docs/index.md"
7573
render_toc = true
7674
[tool.pydoc-markdown.renderer.source_linker]
77-
type = "github"
78-
repo = "max-ostapenko/ga4_data_import"
75+
type = "git"
76+
url_template = "https://github.com/max-ostapenko/ga4_data_import/blob/main/{path}#L{lineno}"
7977

8078
[tool.pylint.main]
8179
disable = ["too-many-arguments"]

0 commit comments

Comments
 (0)