Public teaching portal at neeldhara.courses, including the MAS and FUN course sites. Canonical source; deployed with Dokploy.
  • JavaScript 49.2%
  • Astro 17.5%
  • CSS 10.7%
  • HTML 10.2%
  • MDX 8.3%
  • Other 4%
Find a file
2026-10-30 22:43:27 +05:30
.tours Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30
public added quiz 1 PDF for MAS 2025 2025-09-04 17:48:45 +05:30
scripts Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
server Rewrite minimized Astro catalogue links to course subdomains 2026-09-28 19:02:41 +05:30
src magic: README, smoke test and a pointer from the root README 2026-10-30 22:34:21 +05:30
.dockerignore Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
.gitignore Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
.prettierignore Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30
.prettierrc.mjs Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30
astro.config.mjs Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
DEPLOYMENT.md Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
Dockerfile Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
eslint.config.mjs Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30
netlify.toml fix: add explicit course index page redirects to serve coming soon pages 2025-08-26 16:43:57 +05:30
NETLIFY_DEPLOYMENT.md Add Netlify deployment guide with subdomain configuration instructions 2025-08-24 15:53:17 +05:30
package-lock.json Make the course lockfile reproducible with production npm 10 2026-09-28 18:26:57 +05:30
package.json Build independent course subdomains on Astro 7.3.5 2026-09-28 18:22:04 +05:30
QUICK_DEPLOY.md Add quick Netlify deployment guide 2025-08-24 16:06:59 +05:30
README.md magic: README, smoke test and a pointer from the root README 2026-10-30 22:34:21 +05:30
starwind.config.json Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30
tsconfig.json Initial commit: Astro course website with Fun with Math and Computing modules 2025-08-24 15:49:10 +05:30

Neeldhara’s Courses

Canonical repository: https://git.neeldhara.email/Courses/courses

Public Astro teaching portal for https://neeldhara.courses, including the mas.neeldhara.courses and fun.neeldhara.courses aliases. This is separate from the private learning library at courses.neeldhara.email.

The complete Git history was imported from neeldhara/courses on 28 September 2026. GitHub is an archival copy, not an upstream dependency. Source, local builds, the Docker image, static assets and Pagefind search require no GitHub account, GitHub API, GitHub Actions or GitHub-hosted source checkout. Dependencies are installed from the npm registry using the lockfile.

npm ci
npm run test:routing
npm run build
PORT=4322 npm run serve

The Dockerfile builds the site and serves it on port 80. The server preserves course alias routing, shared assets, Pagefind and the generated course-tab redirects. It also accepts existing course-prefixed links on the aliases. Separate sites such as advalgo.neeldhara.courses, misc.neeldhara.courses and the slides sites are outside this deployment.

See deployment notes for the current production setup.

Magic & Math with Cards

magic.neeldhara.courses has its own layout and pages under src/pages/magic and src/magic, not the docs theme. To add a lecture video, add an entry to src/magic/data/videos.json; to change lecture content, regenerate src/magic/data/episodes.json from the scripting package. Details in src/magic/README.md.


Original template documentation

Welcome to Solstice!

This theme uses Astro v5 and Tailwind CSS v4. It is designed so that it can be used as a standalone docs site, but it is also designed to easily integrate with other templates by Cosmic Themes.

Quickstart

  1. To get started, first install all necessary packages with npm install or pnpm install, then run an initial build to make sure the setup works with npm run build or pnpm build.
  2. Copy the Pagefind build (for site search) to be available for the dev environment. This varies depending on your OS. I've created a few commands to help.
    • For Windows, run npm run winsearch
    • For OSX or Linux, run npm run osxsearch
  3. Next, you'll want to configure your site i18n setup (one language, or multiple). Simply run the command npm run docs:config-i18n and follow the script instructions to get setup! For further information, see the i18n documentation.
  4. Now you can setup the site to your liking!

Should you need any assistance, send me a message at support@cosmicthemes.com

Code Intros

I have created a few code tours to help introduce you to the codebase. You will need the extension Code Tour to view them in VSCode or another IDE.

Code Structure

The code is structured with most items under the src/docs directory. This makes it easy to drop that entire folder into an existing Cosmic Themes project and to add docs functionality in a matter of minutes.

Configuration Options

Overall site configuration is done in the src/docs/config/ folder. Most settings are inside individual language folders in order to make it easier to handle translations.

Site Settings

The src/docs/config/siteSettings.json.ts file is used to configure the site settings. These include things like whether to enable view transitions, whether to enable animations, and whether to show copy link buttons for docs headings.

Site Data

The src/docs/config/[language]/siteData.json.ts file is used to configure the site data. This includes things like the site title, description, social links, and default image.

Nav Data

Configure your navigation data for the top navbar in the src/docs/config/[language]/navData.json.ts file.

Sidebar Layout

Configure the order for your documentation sections in the src/docs/config/[language]/sidebarNavData.json.ts file.

Robots

For robots like Google to see the correct sitemap, you will want to edit the public/robots.txt file to use your website domain.

More Resources

General Astro Info

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory. I also frequently use src/assets for images when using Astro asssets for image optimization.

Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

Want to learn more?

Feel free to check the documentation or jump into the Discord server.