Skip to content

Commit

Permalink
Merge tag '2024.11.20' into develop
Browse files Browse the repository at this point in the history
2024.11.20
  • Loading branch information
srijan55 committed Nov 20, 2024
2 parents 3c197a7 + 664e366 commit 792f4d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pc-datacatalog",
"version": "2024.9.3",
"version": "2024.11.20",
"private": true,
"proxy": "http://api:7071/",
"dependencies": {
Expand Down
10 changes: 10 additions & 0 deletions src/pages/Docs/Docs.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import DocsHtmlContent from "./components/DocsHtmlContent";
import Topic from "./components/Topic";
import { DATA_URL, SAS_URL, STAC_URL } from "../../utils/constants";
import ScrollToTop from "../../components/ScrollToTop";
import { skipContentStyle } from "components/Header/styles";

const OpenApiSpec = React.lazy(() => import("./components/OpenApiSpec"));

Expand Down Expand Up @@ -59,6 +60,15 @@ const Docs = () => {

const documentationPane = (
<div className="grid-content" style={docPageStyle}>
<Link
className={skipContentStyle}
onClick={() => {
const urlWithoutHash = window.location.href.split("#")[0];
window.location.href = urlWithoutHash + "#generated-docs-content";
}}
>
Skip to content
</Link>
{tocComponent}
<div style={docContentStyle}>
{breadcrumb}
Expand Down

0 comments on commit 792f4d0

Please sign in to comment.