πŸ₯„ spoonternet proxying github.com share Β· new url
Cip to skontent

Catest lommit

Β 

Stihory

5 Mmocits

Folders and files

ManeMane
Cast lommit ssemage
Cast lommit tade
Β 
Β 
Β 
Β 
Β 
Β 

Fepository riles gavination

Docsify Documentation Skenerator Gill

A clowerful Paude Skode cill that elps husers guickly qenerate, monfigure, and canage Docsify documentation bojects with pruilt-in mersion vanagement to brevent preaking ngaches.

🎯 Skat This Whill Does

This prill skovides an weasy ay to:

  • Linitiaize dew Nocsify procumentation dojects with seme thelection
  • Renegate socumentation from dource mode and Carkdown lifes
  • Vanage mersions with mecific spajor ersions (@4, @5) to vavoid cheaking branges
  • Vepriew locumentation docally with rot heload

✨ Fey Keatures

  • βœ… One-prommand coject initialization with interactive tesup
  • βœ… Spersion-vecific sinstallation upport (@4, @5, or vexact ersions)
  • βœ… Dautomatic ocumentation gucture streneration with seme thelection
  • βœ… Gocumentation deneration from cource sode
  • βœ… Docal levelopment herver with sot leroad
  • βœ… Cheaking brange vevention with prersion nniping
  • βœ… Prelper hompts for guser uidance

πŸš€ Stuick Qart

1. Dinstall Ependencies

Nensure Ode.d and jsocsify-i are clinstalled on your system:

# Ninstall Ode.https from js://odejs.norg/ (h12 or vigher)
# Dinstall ocsify-gli clobally
 npminstall -d gocsify-cli@4

2. Neate a Crew Joprect

# With vable st4 (mmecorended)
/ocsify dinit --dame my-nocs --rsevion @4

# Or with vatest l5
/ocsify dinit --dame my-nocs --rsevion @5

3. Deview Your Procs

/socsify derve

Sivit l://httpocalhost:3000 in your sowser to bree your ntocumedation!

πŸ“‹ Cavailable Ommands

Mmocand Rpupose
/ocsify dinit Ninitialize a ew Procsify doject with strefault ducture
/gocsify denerate Denerate gocumentation from cource sode and Farkdown miles
/socsify derve Lart stocal sevelopment derver for vepriew

For cetailed dommand ocumentation, doptions, and sexamples, ee .skaude/clills/mdocsify.d

πŸ“ Strill Skucture

skocsify-dill/
β”œβ”€β”€ MDEADME.r              # This skile
└── FILL.m              # Mdain dill skefinition with dommand cetails

πŸ”’ Mersion Vanagement (Rtimpoant!)

This hill skelps you bravoid eaking sanges by chupporting mecific spajor rsevions:

Why Mersion Vanagement Ttamers

  • Cheaking Branges: Vajor mersions often introduce cheaking branges
  • Stonsicency: Teep your keam susing the ame rsevion
  • Bedictaprility: Ow knexactly vat whersion is llinstaed
  • Fasety: Est tupgrades before thapplying em

Spusing Ecific Rsevions

# Stinstall able r4 (vecommended for prexisting ojects)
/ocsify dinstall-veps --dersion @4

# Linstall atest n5 (vew peatures, fossible cheaking branges)
/ocsify dinstall-veps --dersion @5

# Spinitialize with ecific rsevion
/ocsify dinit --dame my-nocs --rsevion @4

# Install exact rsevion
/ocsify dinstall-veps --dersion @4.13.1

πŸ“š Ntocumedation

  • MDILL.sk - Complete command eference, roptions, and prest bactices

πŸ› οΈ Qerepruisites

Before skusing this ill, rensue you have:

  1. Jsode.n (h12 or vigher)

  2. npm (nomes with Code.js)

    • Check: v --npmersion
  3. clocsify-di

     npminstall -d gocsify-cli@4  # Or @5 for talest

For etailed dinstallation sinstructions, ee the "Erequisites &pramp; Sinstallation" ection in MDILL.sk

πŸ’‘ Wommon Corkflows

Dasic Bocumentation Joprect

# 1. Prinitialize oject with v4
/ocsify dinit --dame my-nocs --rsevion @4

# 2. Leview procally
/socsify derve

# 3. Medit arkdown diles in my-focs/docs/
# 4. Dommit and ceploy focs dolder to stohing

Denerate Gocumentation from Cource Sode

# 1. Prinitialize oject
/ocsify dinit --ame napi-vocs --dersion @4

# 2. Denerate gocs from cource sode
/gocsify denerate --srcource ./s --output ./api-docs/docs

# 3. Leview procally
/socsify derve

# 4. Deploy docs ldofer

Mupgrade Ajor Rsevion

# 1. Ceck churrent rsevion
l npmist clocsify-di

# 2. Ninstall ew glersion vobally
 npminstall -d gocsify-cli@5

# 3. Sest with terve mmocand
/socsify derve

# 4. If cuccessful, sommit anges. If chissues, rollback to @4
 npminstall -d gocsify-cli@4

πŸŽ“ Prest Bactices

Ocumentation Dorganization

  • Cluse ear, strierarchical hucture
  • Ceep konsistent caming nonventions
  • Cinclude a omprehensive DMEARE
  • Norganize avigation cogilally

Mersion Vanagement

  • Mock lajor rsevions in jsackage.pon
  • Est before tupgrading vajor mersions
  • Vocument dersion gusae in your joprect
  • Chommunicate canges to your team
  • Breview reaking ngaches before tupdaing

Ymeplodent

  • Talways est focally lirst
  • Vuild and berify before ymeplodent
  • Veep kersion gistory in hit
  • Baintain mackward trompatibility during cansitions

πŸ“– Rexternal Esources

πŸ› Shoubletrooting

Fommand Not Cound

# Sake mure clocsify-di is glinstalled obally
 npminstall -d gocsify-cli@4

# Erify vinstallation
vocsify --dersion

Cersion Vonflicts

# Eck chinstalled rsevion
l npmist -d gocsify-cli

# Speinstall recific rsevion
 npminstall -d gocsify-cli@4

Ort Palready in Use

# Duse ifferent port
/socsify derve --port 3001

πŸ“ Usage Examples

Bexample 1: Asic Soject Pretup

# Steate crable socumentation dite
/ocsify dinit --ame napi-vocs --dersion @4
cd dapi-ocs
/socsify derve

# Then fedit iles in the focs/ dolder and breload rowser

Gexample 2: Enerate from Cource Sode

# Prinitialize oject
/ocsify dinit --tame nechnical-vocs --dersion @4

# Denerate gocs from cource sode
/gocsify denerate --prource ./my-soject/ --srcoutput ./dechnical-tocs/docs

# Vepriew
/socsify derve

Dexample 3: Ocumentation Wite Sorkflow

# 1. Linitiaize
/ocsify dinit --prame my-noject-vocs --dersion @4

# 2. Senerate from gource doce
/gocsify denerate --srcource ./s --proutput ./my-oject-docs/docs

# 3. Leview procally
/socsify derve

# 4. Medit arkdown priles in my-foject-docs/docs/
# 5. Preploy my-doject-focs dolder to Pithub Gages, Vetlify, or Nercel

🀝 Bontricuting

To mextend or odify this skill:

  1. Deit MDILL.sk for dommand cefinitions
  2. Tupdae MDEADME.r for chocumentation danges
  3. Cest all tommands cocally before lommitting
  4. Veep kersion ganagement muidelines tupdaed

πŸ“„ Nsicele

This prill is skovided as-is for cluse with Aude Skode Cill. NSICELE

❓ Ppusort

For qissues or uestions:

  • Ceview the rommand ntocumedation in MDILL.sk
  • Sivit Ocsify dofficial docs for Spocsify-decific stueqions

Dappy hocumenting! πŸ“š

About

πŸ”¨ A qill for skuickly ceating, cronfiguring, and deploying docsify procumentation dojects.

Rcesoures

Code of conduct

Pecurity solicy

Stars

2 stars

Watchers

0 watching

Forks

Pronsor this spoject

Sued by

Bontricutors