@specfy/sync
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Sync

Main codecov

Automatically analyze stack and deploy documentation to Specfy, on every push to main.

Usage

# Installation (optional)
npm install -g @specfy/sync

# Create required .specfyrc.json
npx specfy-sync init

# Manual upload
npx specfy-sync run [--dry-run] [--help] [...]

Github Action

name: Main
on:
  push:
    branches: [ main ]

jobs:
  ci:
    steps:
      - name: Upload to Specfy
        uses: specfy/sync@1
        with:
          token: ${{ secrets.SPECFY_TOKEN }}

How it works?

Documentation

The process is very straight forward. It takes all .md files it can find in the specified folder and upload them to the Specfy's backend. Some files and folders are excluded from auto discovery, if you have trouble with missing files, please open an issue.

Stack

Stack is analysed using @specfy/stack-analyser. The raw output is processed on Specfy's backend.

Readme

Keywords

none

Package Sidebar

Install

npm i @specfy/sync

Weekly Downloads

0

Version

1.0.10

License

ISC

Unpacked Size

53.4 kB

Total Files

55

Last publish

Collaborators

  • h1fra