Skip to content

analogdevicesinc/analogdevicesinc.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analogdevicesinc.github.io

Development

Development mode allows to edit the source code and apply the changes in watch mode.

Install the web compiler

If you care about the web scripts (js modules) and style sheets (sass), install npm first, if not, just skip this section.

NOTE: If the npm provided by your package manager is too old and updating with npm install npm -g fails, consider installing with NodeSource.

At the repository root, install the npm dependencies locally:

npm install rollup \
    @rollup/plugin-terser \
    @rollup/plugin-alias \
    sass \
    --save-dev

Install doctools

With doctools cloned alongside this repository, do a symbolic install

cd ../doctools
pip install -e . --upgrade

Launch the servers

In two terminals, launch adoc serve to watch the doc:

cd docs
adoc serve

Then, in the second, the source code watcher:

python3 dev_server.py

This way, changes to ./scripts and ./styles are re-evaluated.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •