Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nft-utils and links to github actions #2754

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions sites/main-site/src/components/navbar/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,27 @@ if (onGoingEvents?.length > 0) {
<li><hr class="dropdown-divider" /></li>
<li><span class="dropdown-header">Configs</span></li>
<li><a class="dropdown-item" href="/configs/">Shared configs</a></li>
<li><hr class="dropdown-divider" /></li>
<li><span class="dropdown-header">Plugins & Actions</span></li>
<li><a class="dropdown-item" href="/nft-utils/">nft-utils</a></li>
<li>
<a class="dropdown-item" href="https://github.com/nf-core/setup-nextflow/">
setup-nextflow
</a>
</li>
<li>
<a class="dropdown-item" href="https://github.com/nf-core/setup-nf-test/">
setup-nf-test
</a>
</li>
</ul>
</li>
<li class="nav-item p-1 px-3 px-xl-1">
<li
class="nav-item
p-1
px-3
px-xl-1"
>
<a class="nav-link" href="/docs/">Docs</a>
</li>
<li class="nav-item p-1 px-3 px-xl-1 dropdown">
Expand Down Expand Up @@ -181,7 +199,9 @@ if (onGoingEvents?.length > 0) {
</li>
<li><hr class="dropdown-divider" /></li>
<li><span class="dropdown-header">Programs and groups</span></li>
<li><a class="dropdown-item" href="/special-interest-groups/">Special interest groups</a></li>
<li>
<a class="dropdown-item" href="/special-interest-groups/">Special interest groups</a>
</li>
<li><a class="dropdown-item" href="/mentorships/">Mentorships</a></li>
<li><a class="dropdown-item" href="/contributors/">Contributors</a></li>
</ul>
Expand Down
18 changes: 18 additions & 0 deletions sites/main-site/src/pages/nft-utils.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
import MarkdownTocLayout from '@layouts/MarkdownTocLayout.astro';

const title = 'nft-utils';
const subtitle = 'A collection of utilities for working with nf-test';

const content = await fetch('https://raw.githubusercontent.com/nf-core/nft-utils/refs/heads/main/docs/usage.md');
---

<MarkdownTocLayout
title={title}
subtitle={subtitle}
headings={[]}
md_github_url="https://github.com/nf-core/nft-utils/edit/main/README.md"
>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Iste, culpa! Optio itaque, nostrum earum sapiente pariatur
natus illum sit sunt quaerat similique. Labore aliquid voluptatibus sequi iste voluptatum! Itaque, voluptatum?
Comment on lines +16 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to replace that with the readme or is the readme automatically rendered?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought you wanted something more than the readme?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just write any html code here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if the README is rendered on the website that'll be good enough for me.
I just don't want to duplicate effort on writing docs

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mashehu any comment/update?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working on it, got hung up with the tools release sorry. is not sooo straight forward atm to add a random github repo, but there are ways.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, tools is more important, and I know you'll fix it, just wanted to check if it was not lost in limbo.
Thanks a lot

</MarkdownTocLayout>
Loading