Skip to content

Commit

Permalink
adds visibility page to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Dec 29, 2023
1 parent 072cd9f commit dc81416
Show file tree
Hide file tree
Showing 4 changed files with 524 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def custom_format_signature(sig: inspect.Signature, colon: bool = True) -> str:
("cityseer.metrics.observe", here / "src/pages/metrics/observe.md"),
("cityseer.metrics.networks", here / "src/pages/metrics/networks.md"),
("cityseer.metrics.layers", here / "src/pages/metrics/layers.md"),
("cityseer.metrics.visibility", here / "src/pages/metrics/visibility.md"),
("cityseer.tools.graphs", here / "src/pages/tools/graphs.md"),
("cityseer.tools.io", here / "src/pages/tools/io.md"),
("cityseer.tools.plot", here / "src/pages/tools/plot.md"),
Expand Down
19 changes: 10 additions & 9 deletions docs/src/layouts/PageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const navPaths = [
'/metrics/observe',
'/metrics/networks',
'/metrics/layers',
'/metrics/visibility',
'/rustalgos/rustalgos',
'/attribution',
]
Expand All @@ -29,21 +30,21 @@ const navPaths = [
<Fragment slot="metaContent">
<title>{currentPath}</title>
</Fragment>
<div id='cols'>
<div id='nav-col'>
<div class='flex flex-col items-end object-contain'>
<a href='/' title='home' class='hover:scale-105 transition-all object-contain'>
<img src={logoURL.src} alt='logo' class='w-full h-full max-w-xs py-10 px-4' />
<div id="cols">
<div id="nav-col">
<div class="flex flex-col items-end object-contain">
<a href="/" title="home" class="hover:scale-105 transition-all object-contain">
<img src={logoURL.src} alt="logo" class="w-full h-full max-w-xs py-10 px-4" />
</a>
<NavColumn client:visible navPaths={navPaths} currentPath={currentPath} />
<div class='flex-grow'></div>
<div class='self-start px-8 py-2'>
<div class="flex-grow"></div>
<div class="self-start px-8 py-2">
<RepoLink />
</div>
</div>
<StripeTitle />
</div>
<div id='content-col'>
<div id="content-col">
<slot />
<Footer />
</div>
Expand Down Expand Up @@ -76,4 +77,4 @@ const navPaths = [
@apply w-full p-3;
}
}
</style>
</style>
Loading

0 comments on commit dc81416

Please sign in to comment.