Repository navigation
Add placeholder landing page for Nebari Data Science Pack #92
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
Closed
Closed
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5915cf0
docs: add Docusaurus site with Netlify deployment
killua156 5cc750b
docs: address PR review feedback, add MLflow/GPU, audit content
killua156 8d7c949
docs: replace full docs with placeholder landing page
killua156 25c339a
docs: remove all Netlify references
killua156 41f9e40
Remove troubleshooting section and deployment boilerplate from docs R…
killua156 5c440de
Convert docs to TypeScript and simplify workflow to match nebi
killua156 a885e17
Remove yarn log references from .gitignore
killua156 9adb7a9
Update .github/workflows/docs.yml
killua156 cf5e554
Merge branch 'main' into docs/docusaurus-site
killua156 45cc65d
Merge branch 'main' into docs/docusaurus-site
andrewfulton9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Docs | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'docs/**' | ||
| pull_request: | ||
| paths: | ||
| - 'docs/**' | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | ||
| with: | ||
| node-version: '20' | ||
| cache: 'npm' | ||
| cache-dependency-path: docs/package-lock.json | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
| working-directory: docs | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
| working-directory: docs | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,22 @@ venv/ | |
| .pixi/ | ||
| .venv-unit/ | ||
| tools/ | ||
|
|
||
| # Docs (Docusaurus) | ||
| docs/node_modules/ | ||
| docs/build/ | ||
| docs/.docusaurus/ | ||
| docs/.cache-loader/ | ||
| AGENT.md | ||
| AGENTS.md | ||
|
|
||
| # Misc | ||
| .DS_Store | ||
| .env.local | ||
| .env.development.local | ||
| .env.test.local | ||
| .env.production.local | ||
|
|
||
| npm-debug.log* | ||
| yarn-debug.log* | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The yarn references can be moved now
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. removing them |
||
| yarn-error.log* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # Nebari Data Science Pack Documentation | ||
|
|
||
| This directory contains the [Docusaurus](https://docusaurus.io/) site for the Nebari Data Science pack. The site is written in TypeScript. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - Node.js `>= 20` (enforced by the `engines` field in `package.json`). | ||
| - npm (bundled with Node.js). | ||
|
|
||
| ## Install | ||
|
|
||
| ```bash | ||
| cd docs | ||
| npm install | ||
| ``` | ||
|
|
||
| ## Local development | ||
|
|
||
| ```bash | ||
| npm start | ||
| ``` | ||
|
|
||
| Starts the Docusaurus dev server with hot reload on http://localhost:3000/. | ||
|
|
||
| ## Production build | ||
|
|
||
| ```bash | ||
| npm run build | ||
| ``` | ||
|
|
||
| Emits static files to `docs/build/`. The search index is generated as part of the production build. | ||
|
|
||
| ## Preview the production build | ||
|
|
||
| ```bash | ||
| npm run serve | ||
| ``` | ||
|
|
||
| Serves the contents of `docs/build/` locally so you can verify the production output, including search. | ||
|
|
||
| ## Type checking | ||
|
|
||
| ```bash | ||
| npm run typecheck | ||
| ``` | ||
|
|
||
| ## CI | ||
|
|
||
| The [`Docs` workflow](../.github/workflows/docs.yml) builds the site for every pull request and push to `main` that touches `docs/`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| title: Introduction | ||
| description: Documentation for the Nebari Data Science pack. | ||
| slug: / | ||
| sidebar_position: 1 | ||
| last_update: | ||
| date: 2026-06-04 | ||
| --- | ||
|
|
||
| # Nebari Data Science Pack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,119 @@ | ||
| import {themes as prismThemes} from 'prism-react-renderer'; | ||
| import type {Config} from '@docusaurus/types'; | ||
| import type * as Preset from '@docusaurus/preset-classic'; | ||
|
|
||
| const lightCodeTheme = prismThemes.github; | ||
| const darkCodeTheme = prismThemes.dracula; | ||
|
|
||
| const config: Config = { | ||
| title: 'Nebari Data Science Pack', | ||
| tagline: 'Deploy JupyterHub with jhub-apps on Nebari', | ||
| favicon: 'img/favicon.ico', | ||
|
|
||
| future: { | ||
| v4: true, | ||
| }, | ||
|
|
||
| url: 'https://nebari-dev.github.io', | ||
| baseUrl: '/nebari-data-science-pack/', | ||
|
|
||
| organizationName: 'nebari-dev', | ||
| projectName: 'nebari-data-science-pack', | ||
|
|
||
| onBrokenLinks: 'throw', | ||
|
|
||
| i18n: { | ||
| defaultLocale: 'en', | ||
| locales: ['en'], | ||
| }, | ||
|
|
||
| markdown: { | ||
| mermaid: true, | ||
| }, | ||
|
|
||
| themes: ['@docusaurus/theme-mermaid'], | ||
|
|
||
| plugins: [ | ||
| [ | ||
| require.resolve('@easyops-cn/docusaurus-search-local'), | ||
| { | ||
| indexBlog: false, | ||
| docsRouteBasePath: '/', | ||
| }, | ||
| ], | ||
| ], | ||
|
|
||
| presets: [ | ||
| [ | ||
| 'classic', | ||
| { | ||
| docs: { | ||
| routeBasePath: '/', | ||
| sidebarPath: './sidebars.ts', | ||
| sidebarCollapsible: true, | ||
| showLastUpdateTime: true, | ||
| editUrl: | ||
| 'https://github.com/nebari-dev/nebari-data-science-pack/edit/main/docs/docs/', | ||
| }, | ||
| blog: false, | ||
| theme: { | ||
| customCss: './src/css/custom.css', | ||
| }, | ||
| } satisfies Preset.Options, | ||
| ], | ||
| ], | ||
|
|
||
| themeConfig: { | ||
| colorMode: { | ||
| defaultMode: 'light', | ||
| disableSwitch: false, | ||
| respectPrefersColorScheme: true, | ||
| }, | ||
| docs: { | ||
| sidebar: { | ||
| hideable: true, | ||
| autoCollapseCategories: true, | ||
| }, | ||
| }, | ||
| navbar: { | ||
| title: 'Nebari Data Science Pack', | ||
| logo: { | ||
| alt: 'Nebari logo', | ||
| src: 'img/logo.svg', | ||
| }, | ||
| items: [ | ||
| { | ||
| href: 'https://github.com/nebari-dev/nebari-data-science-pack', | ||
| label: 'GitHub', | ||
| position: 'right', | ||
| }, | ||
| ], | ||
| }, | ||
| footer: { | ||
| style: 'dark', | ||
| links: [ | ||
| { | ||
| title: 'Source', | ||
| items: [ | ||
| { | ||
| label: 'GitHub', | ||
| href: 'https://github.com/nebari-dev/nebari-data-science-pack', | ||
| }, | ||
| { | ||
| label: 'Nebari', | ||
| href: 'https://nebari.dev', | ||
| }, | ||
| ], | ||
| }, | ||
| ], | ||
| copyright: `Copyright © ${new Date().getFullYear()} Nebari contributors.`, | ||
| }, | ||
| prism: { | ||
| theme: lightCodeTheme, | ||
| darkTheme: darkCodeTheme, | ||
| additionalLanguages: ['bash', 'yaml', 'toml', 'python'], | ||
| }, | ||
| } satisfies Preset.ThemeConfig, | ||
| }; | ||
|
|
||
| export default config; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.