Coder Social home page Coder Social logo

install-docr-action's Introduction

๐Ÿ“ฆ docr-install-action

A convenient installer for the Docr Static Site Generator

Super-Linter CI

Usage

Configuration

Values below will be used to write your settings.json in the same directory as the Docr executable.

Option Description Required Default
github-repo The GitHub repository (e.g., owner/repo) to fetch releases from. โŒ NotAShelf/Docr
install-dir The installation directory for your application. Defaults to current directory โŒ ./
github-username Your GitHub username to be displayed on generated pages โœ… N/A
website-name A short name for your website or application, will be displayed on pages โœ… N/A
template-dir The directory where templates are stored โŒ templates/
markdown-dir The directory where markdown files will be stored โŒ markdown/
output-dir The directory to place generated html files to. Useful for serving static pages over Pages โŒ output/
website-url Root URL of your website. Will be used for RSS feeds and buttons โœ… N/A
website-description Meta description of your website. Useful for setting embed descriptions โœ… N/A
timestamps-from-filename Whether to extract timestamps from filenames that are named title-dd-mm-yyyy.md โŒ true

Output

  • installed-version: The installed version of your application.

Developing

All contributions are welcome.

After you've cloned the repository to your local machine or codespace, you'll need to perform some initial setup steps before you can develop your action.

Note

You'll need to have a reasonably modern version of Node.js handy. If you are using a version manager like nodenv or nvm, you can run nodenv install in the root of your repository to install the version specified in package.json. Otherwise, 20.x or later should work!

Nix users may use the provided flake.nix for automatically setting up a convenient dev env.

Testing

License

This repository is licensed under the MIT License. See License for more details.

install-docr-action's People

Contributors

notashelf avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.