8000 Add `create:docs` command · Issue #1351 · thuliteio/doks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add create:docs command #1351

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

Open
h-enk opened this issue Apr 15, 2025 · 0 comments
Open

Add create:docs command #1351

h-enk opened this issue Apr 15, 2025 · 0 comments

Comments

@h-enk
Copy link
Member
h-enk commented Apr 15, 2025

Summary

Brief explanation of the feature.

{
  "name": "doks-1349",
  "version": "0.0.0",
  "description": "Doks theme",
  "author": "Thulite",
  "license": "MIT",
  "scripts": {
    "create": "hugo new",
    "create:docs": "hugo new --kind docs",
    "dev": "hugo server --disableFastRender --noHTTPCache",
    "format": "prettier **/** -w -c",
    "build": "hugo --minify --gc",
    "preview": "vite preview --outDir public"
  },
  // ...existing code...
}

Basic example

Include a basic example or links here.

With this change, you can run:

npm run create:docs course_1

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

npm's -- separator doesn't properly pass the --kind flag to the Hugo command (pnpm, yarn, and bun do)

#1349 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0