mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-17 03:43:39 +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,15 +113,24 @@ defmodule AshHqWeb.Components.DocSidebar do
|
|||
<ul class={"ml-1 flex flex-col"}>
|
||||
{#for dsl <- Enum.filter(dsls, &(&1.path == path))}
|
||||
<li class="border-l pl-1 border-orange-600 border-opacity-30">
|
||||
<LivePatch
|
||||
to={Routes.dsl_link(@library, @library_version.version, @extension.name, dsl)}
|
||||
class={
|
||||
"flex items-center p-1 text-base font-normal rounded-lg hover:text-orange-300",
|
||||
"text-orange-600 dark:text-orange-400 font-bold": @dsl && @dsl.id == dsl.id
|
||||
}
|
||||
>
|
||||
{dsl.name}
|
||||
</LivePatch>
|
||||
<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
|
||||
to={Routes.dsl_link(@library, @library_version.version, @extension.name, dsl)}
|
||||
class={
|
||||
"flex items-center p-1 text-base font-normal rounded-lg hover:text-orange-300",
|
||||
"text-orange-600 dark:text-orange-400 font-bold": @dsl && @dsl.id == dsl.id
|
||||
}
|
||||
>
|
||||
{dsl.name}
|
||||
</LivePatch>
|
||||
</div>
|
||||
{#if @dsl && List.starts_with?(@dsl.path ++ [@dsl.name], path ++ [dsl.name])}
|
||||
{render_dsls(assigns, dsls, path ++ [dsl.name])}
|
||||
{/if}
|
||||
|
|
8
mix.exs
8
mix.exs
|
@ -33,10 +33,10 @@ defmodule AshHq.MixProject do
|
|||
# Type `mix help deps` for examples and options.
|
||||
defp deps do
|
||||
[
|
||||
# {:ash, github: "ash-project/ash", override: true},
|
||||
{:ash, path: "../ash", override: true},
|
||||
# {:ash_postgres, github: "ash-project/ash_postgres"},
|
||||
{:ash_postgres, path: "../ash_postgres"},
|
||||
{:ash, github: "ash-project/ash", override: true},
|
||||
# {:ash, path: "../ash", override: true},
|
||||
{:ash_postgres, github: "ash-project/ash_postgres"},
|
||||
# {:ash_postgres, path: "../ash_postgres"},
|
||||
{:ash_phoenix, github: "ash-project/ash_phoenix"},
|
||||
{:earmark, "~> 1.5.0-pre1"},
|
||||
{: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