xbrlus / ferc-renderer

Apache License 2.0
2 stars 4 forks source link

Styles are missing while rendering FERC XBRL HTML using arellecmdline.exe #4

Closed nagsystrends closed 3 years ago

nagsystrends commented 3 years ago

Styles are missing while rendering FERC XBRL HTML using arellecmdline.exe

I have tried FERC XBRL HTML rendering using arellecmdline.exe as follows:

C:\Program Files\Arelle>arellecmdline --plugin FERC/render --ferc-render-render --ferc-render-template-set "https://github.com/xbrlus/ferc-renderer/blob/master/RenderingTemplates/Form_1.zip?raw=tru" -f "E:\Test\TestF1.xbrl" --ferc-render-inline "E:\Test\XBRL_8_739_20210211140935_xbrl.html" --noCertificateCheck --ferc-render-debug

Please find the attached Zip file.

XBRL_8_739_20210211140935_xbrl.zip

campbellpryde commented 3 years ago

The css should be put in the same folder as E:\Test\XBRL_8_739_20210211140935_xbrl.html. The css file is here: https://github.com/xbrlus/ferc-renderer/blob/master/plugin/FERC/form-template.css

Alternatively add the argument --ferc-render-css-file={Location of CSS file} and --ferc-render-inline-css . This will put the CSS in the file.

campbellpryde commented 3 years ago

To see the command parameters use the following: C:\Program Files\Arelle>arellecmdline --plugin "xule | FERC/render" --help

nagsystrends commented 3 years ago

To see the command parameters use the following: C:\Program Files\Arelle>arellecmdline --plugin "xule | FERC/render" --help

Issue fixed. Thank you.