So everything needs to be inlined (css, images, etc...) or the wiki will
not render the pages correctly. So I used this tool
https://github.com/remy/inliner
❯ npm install inliner
❯ ./node_modules/inliner/cli/index.js
../incubator-nuttx/Documentation/NuttXCCodingStandard.html >
NuttXCCodingStandard.html
and then upload the html file to the wiki here
https://cwiki.apache.org/confluence/pages/viewpageattachments.action?pageId=139629402&sortBy=date&startIndex=0

The wiki uploads are actually versioned so not that bad it something wrong
happens.  I am happy to generate the inlined files and upload them for now
so you don't have to learn npm,  just let me know.

--Brennan

On Sun, Feb 2, 2020 at 5:48 AM Gregory Nutt <spudan...@gmail.com> wrote:

> Hi, Brennan,
> > Is there any problem with this?  I will update the NuttX coding
> > standard to match.
>
> I need to update the coding standard document.  The mast copies of all
> NuttX documentation is in HTML format at
> https://github.com/apache/incubator-nuttx/tree/master/Documentation so
> that versioned copies of all documents are released with the code.
>
> After I modify the HTML file, how do I use that to update the website.
> My understanding is that you used some tools to do that?
>
> Since the source of the documents is controlled in the repository, we
> need to prevent people from modifying the documents online.  The should
> submit PRs against the HTML files.
>
> Greg
>
>
>
>

Reply via email to