GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — How to test docs changes How to test docs changes
Emmanuel Evance edited this page
If you make a change to the jsdoc of an adaptor, you may want to test the changes on the docsite. This wiki page will show you how to do it. The commands you need Adaptors: Docs: First, clone and setup the docs repo: https://github.com/openfn/docs Run the repo with Ensure that OPENFN_ADAPTORS_REPO env var is set and points to your monorepo. You may want to update your Next you need to build the jsdocs in the adaptors repo To build all docs (probably a good idea) If you JUST want to build the docs for one adaptor, you can The To build this file, run this from root: If you haven't already, start the docs server in the docs repo: Starting in dev mode will build from the monorepo right away. While the server is running, you can run In the docs server, watch for changes to docs.json: Here in adaptors, you can watch a specific adaptor's docs from its subfolder: And you can watch for all docs changes to recompile docs.json with Clone this wiki locally |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |