mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-19 12:53:49 +12:00
WIP
This commit is contained in:
parent
c0112737dc
commit
3336a171be
9 changed files with 26 additions and 18 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/deps
|
||||||
|
assets/node_modules
|
||||||
|
_build
|
||||||
|
.elixir_ls
|
|
@ -113,6 +113,14 @@ defmodule AshHqWeb.Components.DocSidebar do
|
||||||
<ul class={"ml-1 flex flex-col"}>
|
<ul class={"ml-1 flex flex-col"}>
|
||||||
{#for dsl <- Enum.filter(dsls, &(&1.path == path))}
|
{#for dsl <- Enum.filter(dsls, &(&1.path == path))}
|
||||||
<li class="border-l pl-1 border-orange-600 border-opacity-30">
|
<li class="border-l pl-1 border-orange-600 border-opacity-30">
|
||||||
|
<div class="flex flex-row items-center">
|
||||||
|
{#if Enum.any?(dsls, &(List.starts_with?(&1.path, dsl.path ++ [dsl.name])))}
|
||||||
|
{#if @dsl && List.starts_with?(@dsl.path ++ [@dsl.name], path ++ [dsl.name])}
|
||||||
|
<Heroicons.Outline.ChevronDownIcon class="w-3 h-3"/>
|
||||||
|
{#else}
|
||||||
|
<Heroicons.Outline.ChevronRightIcon class="w-3 h-3"/>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
<LivePatch
|
<LivePatch
|
||||||
to={Routes.dsl_link(@library, @library_version.version, @extension.name, dsl)}
|
to={Routes.dsl_link(@library, @library_version.version, @extension.name, dsl)}
|
||||||
class={
|
class={
|
||||||
|
@ -122,6 +130,7 @@ defmodule AshHqWeb.Components.DocSidebar do
|
||||||
>
|
>
|
||||||
{dsl.name}
|
{dsl.name}
|
||||||
</LivePatch>
|
</LivePatch>
|
||||||
|
</div>
|
||||||
{#if @dsl && List.starts_with?(@dsl.path ++ [@dsl.name], path ++ [dsl.name])}
|
{#if @dsl && List.starts_with?(@dsl.path ++ [@dsl.name], path ++ [dsl.name])}
|
||||||
{render_dsls(assigns, dsls, path ++ [dsl.name])}
|
{render_dsls(assigns, dsls, path ++ [dsl.name])}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
8
mix.exs
8
mix.exs
|
@ -33,10 +33,10 @@ defmodule AshHq.MixProject do
|
||||||
# Type `mix help deps` for examples and options.
|
# Type `mix help deps` for examples and options.
|
||||||
defp deps do
|
defp deps do
|
||||||
[
|
[
|
||||||
# {:ash, github: "ash-project/ash", override: true},
|
{:ash, github: "ash-project/ash", override: true},
|
||||||
{:ash, path: "../ash", override: true},
|
# {:ash, path: "../ash", override: true},
|
||||||
# {:ash_postgres, github: "ash-project/ash_postgres"},
|
{:ash_postgres, github: "ash-project/ash_postgres"},
|
||||||
{:ash_postgres, path: "../ash_postgres"},
|
# {:ash_postgres, path: "../ash_postgres"},
|
||||||
{:ash_phoenix, github: "ash-project/ash_phoenix"},
|
{:ash_phoenix, github: "ash-project/ash_phoenix"},
|
||||||
{:earmark, "~> 1.5.0-pre1"},
|
{:earmark, "~> 1.5.0-pre1"},
|
||||||
{:ecto, git: "https://github.com/elixir-ecto/ecto.git", override: true},
|
{:ecto, git: "https://github.com/elixir-ecto/ecto.git", override: true},
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
|
@ -1,5 +0,0 @@
|
||||||
# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
|
||||||
#
|
|
||||||
# To ban all spiders from the entire site uncomment the next two lines:
|
|
||||||
# User-agent: *
|
|
||||||
# Disallow: /
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue