Skip to content

Commit 0ba13bf

Browse files
committed
Fix internal links with .html in them
1 parent 0df5f32 commit 0ba13bf

20 files changed

+52
-51
lines changed

api-v1/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,7 @@ <h2 id='trigger-a-new-job'>Trigger a new Job</h2><div class="highlight"><pre cla
26872687
</span><span class="p">}</span><span class="w">
26882688
</span></code></pre></div>
26892689
<aside class="warning">
2690-
We recommend migrating from this endpoint to use API v2 <a href="https://circleci.com/docs/api/v2/index.html#operation/triggerPipeline">trigger a pipeline</a>.
2690+
We recommend migrating from this endpoint to use API v2 <a href="https://circleci.com/docs/api/v2/#operation/triggerPipeline">trigger a pipeline</a>.
26912691
</aside>
26922692

26932693
<p><strong><code>POST</code> Request:</strong> Triggers a new job and then returns a summary of the job run.</p>

custom-template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@
7474
<body>
7575
<!-- Clickable logo that routes to docs homepage -->
7676
<div class="custom-logo">
77-
<a href="../../reference/api-homepage.html" title="Back to CircleCI Documentation">
77+
<a href="../../reference/api-homepage" title="Back to CircleCI Documentation">
7878
<img src="logo.svg" alt="CircleCI" />
7979
</a>
8080
</div>
8181

8282
{{{redocHTML}}}
8383
</body>
8484

85-
</html>
85+
</html>

docs/guides/modules/about-circleci/pages/benefits-of-circleci.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ As a developer using CircleCI you can:
1818
- Access xref:execution-managed:using-arm.adoc[Arm VM resources] and xref:execution-managed:using-docker.adoc#arm[Arm on Docker].
1919
- Use xref:orbs:use:orb-intro.adoc[orbs], reusable packages of configuration, to integrate with third parties.
2020
- Use pre-built Docker xref:execution-managed:circleci-images.adoc[images] in a variety of languages.
21-
- Use the link:https://www.circleci.com/docs/api/v2[API] to retrieve information about jobs and workflows.
21+
- Use the link:https://www.circleci.com/docs/api/v2/[API] to retrieve information about jobs and workflows.
2222
- Use the xref:toolkit:local-cli.adoc[CLI] to access advanced tools locally.
2323
- Get flaky test detection with xref:insights:insights-tests.adoc[test insights].
2424

docs/guides/modules/insights/pages/insights-glossary.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,16 @@ display the change in value or delta compared to the prior 7-day window.
9292

9393
Trends displayed in the CircleCI UI are calculated as `100 * (current value - previous value) / prior-value`.
9494

95-
Trends received from the link:https://circleci.com/docs/api/v2/index.html#operation/getProjectWorkflowsPageData[CircleCI API] are calculated as a ratio instead of a percentage with the following formula: `(current-value / prior-value)`. These trends are 1-based and not 0-based.
95+
Trends received from the link:https://circleci.com/docs/api/v2/#operation/getProjectWorkflowsPageData[CircleCI API] are calculated as a ratio instead of a percentage with the following formula: `(current-value / prior-value)`. These trends are 1-based and not 0-based.
9696

9797
* A ratio of 1.0 indicates _no change_.
9898
* A value less than 1.0 indicates a negative trend, and a value greater than 1.0 indicates a positive trend.
9999
* A value of -1.0 is an infinite trend.
100100
101101
This also applies to the following API endpoints:
102102

103-
* link:https://circleci.com/docs/api/v2/index.html#operation/getOrgSummaryData[getOrgSummaryData]
104-
* link:https://circleci.com/docs/api/v2/index.html#operation/getWorkflowSummary[getWorkflowSummary].
103+
* link:https://circleci.com/docs/api/v2/#operation/getOrgSummaryData[getOrgSummaryData]
104+
* link:https://circleci.com/docs/api/v2/#operation/getWorkflowSummary[getWorkflowSummary].
105105
106106
Despite the trend being reported as a ratio via the API, the result returned is still effectively equivalent to the percentage that is shown in the UI. To compare the ratio from the API with the percentage reported in the UI, you can compute `| trend-value - 1|` (vertical line indicates absolute value). For example, if the API returns a ratio of 3.33, in the UI it will be shown as `| 3.33 - 1 | = 2.33` which is equivalent to +233%.
107107

docs/guides/modules/insights/pages/insights.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ Select the *Jobs* tab next to *Overview* to view the following cumulative data o
6868

6969
Refer to the xref:test:collect-test-data.adoc[Collect Test Data] document for guidance on configuring Insights into your most failed tests.
7070

71-
See the link:https://circleci.com/docs/api/v2#tag/Insights[Insights API reference].
71+
See the link:https://circleci.com/docs/api/v2/#tag/Insights[Insights API reference].

docs/guides/modules/integration/pages/version-control-system-integration-overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ include::ROOT:partial$tips/check-github-type.adoc[Check your GitHub integration
125125
| [.circle-red]#**No**#
126126
| [.circle-red]#**No**#
127127

128-
| link:https://circleci.com/docs/api/v2/index.html#operation/triggerPipeline[Trigger pipelines via API]
128+
| link:https://circleci.com/docs/api/v2/#operation/triggerPipeline[Trigger pipelines via API]
129129
| [.circle-green]#**Yes**#
130130
| [.circle-red]#**No**#
131131
| [.circle-red]#**No**#

docs/guides/modules/optimize/pages/artifacts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ curl --silent --request GET --url https://circleci.com/api/v2/workflow/:workflow
181181
| wget --verbose --header "Circle-Token: $CIRCLE_TOKEN" --no-verbose --input-file -
182182
----
183183
184-
You can read more about using CircleCI's API to interact with artifacts in our link:../../api/v1/index.html#artifacts[API reference guide].
184+
You can read more about using CircleCI's API to interact with artifacts in our link:../../../api/v1/#artifacts[API reference guide].
185185
186186
[cols="1,2", options="header"]
187187
|===

docs/guides/modules/optimize/pages/caching.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ If your source code changes frequently, we recommend using fewer, more specific
455455
456456
Even with the narrowest `restore_cache` option (`source-v1-{{ .Branch }}-{{ .Revision }}`), source caching can be greatly beneficial, for example:
457457
458-
* Running repeated builds against the same git revision (for example, with link:../../api/v2/index.html#tag/Pipeline/operation/triggerPipelineRun[API-triggered builds])
458+
* Running repeated builds against the same git revision (for example, with link:../../../api/v2/#tag/Pipeline/operation/triggerPipelineRun[API-triggered builds])
459459
* When using workflows, where you might otherwise need to `checkout` the same repository once per workflow job.
460460
461461
However, it is worth comparing build times with and without source caching. `git clone` is often faster than `restore_cache`.

docs/guides/modules/orchestrate/pages/migrate-scheduled-workflows-to-scheduled-pipelines.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ curl --location --request POST "https://circleci.com/api/v2/project/<project-slu
7575
7676
include::ROOT:partial$tips/find-project-slug.adoc[]
7777
78-
For additional information, refer to the **Schedule** section under the link:https://circleci.com/docs/api/v2[API v2 docs]. Also see the xref:toolkit:api-developers-guide.adoc#getting-started-with-the-api[Getting started with the API] section of the API Developer's Guide for more guidance on making requests.
78+
For additional information, refer to the **Schedule** section under the link:https://circleci.com/docs/api/v2/[API v2 docs]. Also see the xref:toolkit:api-developers-guide.adoc#getting-started-with-the-api[Getting started with the API] section of the API Developer's Guide for more guidance on making requests.
7979

8080
[#use-project-settings]
8181
=== b. Use project settings in the web app

docs/guides/modules/orchestrate/pages/scheduled-pipelines.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ curl --location --request POST "https://circleci.com/api/v2/project/<project-slu
6969

7070
include::ROOT:partial$tips/find-project-slug.adoc[]
7171

72-
For additional information, refer to the **Schedule** section under the link:https://circleci.com/docs/api/v2[API v2 docs]. Also see the xref:toolkit:api-developers-guide.adoc#getting-started-with-the-api[Getting started with the API] section of the API Developer's Guide for more guidance on making requests.
72+
For additional information, refer to the **Schedule** section under the link:https://circleci.com/docs/api/v2/[API v2 docs]. Also see the xref:toolkit:api-developers-guide.adoc#getting-started-with-the-api[Getting started with the API] section of the API Developer's Guide for more guidance on making requests.
7373

7474
[#migrate-scheduled-workflows-to-scheduled-pipelines]
7575
== Migrate scheduled workflows to scheduled pipelines

0 commit comments

Comments
 (0)