Commands

Doks comes with commands for common tasks.

create

Create new content for your site:

npm run create [path] [flags]

See also the Hugo docs: hugo new.

lint

Check scripts, styles, and markdown for errors:

npm run lint

scripts

Check scripts for errors:

npm run lint:scripts [-- --fix]

styles

Check styles for errors:

npm run lint:styles [-- --fix]

markdown

Check markdown for errors:

npm run lint:markdown [-- --fix]

clean

Delete temporary directories:

npm run clean

start

Start local development server:

npm run start

build

Build production website:

npm run build

functions

Build Lambda functions:

npm run build:functions

preview

Build production website including draft and future content:

npm run build:preview


Need more help?

  • Try the search box at the top of this page.
  • Try the main FAQ page.
  • Share your issue on our issues forum on GitHub, as well as search for a similar issue already posted and perhaps solved.
  • Shoot us an email at admin@speechlogger.com.
  • Premium users may fill out the following form for premium support.
  • For suggestions, feature requests and other discussions, please join our discussions forum.
  • More ways to get in touch with us on the contact page.
Top