contribution

logo.apidsl.com

contribution.apidsl.com

APIfoundation

Here are 3 levels of apifoundation solutions

apifork to bring dependencies,packagages to the project

apibuild - to build it over composer, maven, npm, …

apidsl - to use it over hi level domain language

Contribution

git config –global –add safe.directory /media/tom/projects/apidsl/docs

Solutions for development:

Install dependencies after created project

curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt

Edit documentation with flatedit

echo '#!/bin/bash' > 'readme'
echo './flatedit/readme.sh readme.txt' > 'readme'
echo "./MD/MENU.md" >> "readme.txt"
echo "./MD/ABOUT.md" >> "readme.txt"
echo "./MD/FOOT.md" >> "readme.txt"

Update documentation

 ./readme

Config project file

The config file: .apifork can be another, e.g. projects.txt

Just change the first line in .apifork on projects.txt

projects.txt

install

minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL

./apifork install

OR

./apifork

update

./apifork update

remove

./apifork remove

Contribution with GIT

problem with local repositories

git config --global --add safe.directory /media/tom/projects/apidsl/docs

Solutions for development:

Install dependencies after created project

curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt

Update documentation by flatedit

flatedit

Config project file

apifork

The config file: .apifork can be another, e.g. projects.txt

Just change the first line in .apifork on projects.txt

projects.txt

install

minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL

./apifork install

OR

./apifork

update

./apifork update

remove

./apifork remove

Install

Solutions for development:

Install

Install dependencies after created project

curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt

Install package list after created project

curl https://raw.githubusercontent.com/apipackage/bash/main/apipackage.sh -o apipackage
echo "https://github.com/letwhois/bash apidsl/apidsl/bash letwhois" >> "apipackage.txt"
./apipackage install

install

minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL

./apifork install

OR

./apifork

Start usage

Update documentation

 ./readme

Config project file

The config file: .apifork can be another, e.g. projects.txt

Just change the first line in .apifork on projects.txt

projects.txt

install

minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL

./apifork install

OR

./apifork

update

./apifork update

remove

./apifork remove

About flatedit

Edit documentation with flatedit

echo "./MD/MENU.md" > "flatedit.txt"
echo "./MD/ABOUT.md" >> "flatedit.txt"
echo "./MD/FOOT.md" >> "flatedit.txt"

Dependencies

projects list readme1.txt

./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md

readme.sh

./flatedit/readme.md readme1.txt

Comments

With comments not to load this file

projects list readme2.txt

./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md

readme.sh

./flatedit/readme.md readme2.txt

Logs

Show not- & working/existing files

projects list readme3.txt

./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md

readme.sh

./flatedit/readme.md readme3.txt

PLAINEDIT

Edit documentation in 2 steps, first make the outputs over plainedit.sh Create docs over readme.sh

list of projects

./plainedit.sh

Update html over plainedit

./plainedit.sh debug
./plainedit.sh deployment
./plainedit.sh api
./plainedit.sh client
./plainedit.sh path
./plainedit.sh whois
./plainedit.sh loop
./plainedit.sh monitoring
./plainedit.sh screenshot

Update documentation

./readme.sh

Tags