RFC: docs website layout demo
Pete Travis
me at petetravis.com
Sat Dec 20 05:10:36 UTC 2014
On 10/23/2014 04:21 PM, Jeff Fearn wrote:
<TRIM!>
> So this thread has kind of died, I think it's because using bootstrap
> with the current HTML output is a monstrous job.
>
> I'd like to progress with getting the site updated to something
> similar to my demo then start a separate, longer, process to change
> the HTML publican generates so that it's much easier for people to
> radically change the
> styling.
>
> Thoughts?
>
> Cheers, Jeff.
>
Hey Jeff,
Thanks again for spending some time on IRC recently. I've spent a bit
more time on this, and have developed a few questions I hope you can answer.
First, one of the things I've been struggling with was getting the style
applied to the homepage. After trying a number of misguided things, I
actually looked at $sitehome/en-US/index.html and found this:
$('#splash').load("https://admin.fedoraproject.org/docs-backend//en-US/splash.html
.article");
The main copy on the page is loaded by this function, and of course it
strips the <head> out - so no CSS comes with. What we *do* get is:
- chrome.css
- site_overrides.css
- splash.css
With your help, site_overrides.css is coming from the docsite-publican
(home) package now. The other two files I had to manually copy in from
/usr/share/publican, and if I recall correctly, I ended up copying over
all of /usr/share/publican/sitetemplate/ . - Is there an RPM method for
doing this?
The CSS files that aren't coming along are:
- db4.css
- brand.css
- print.css
This doesn't seem right. The home page should have the branding,
right? Is a custom site template needed here?
--
-- Pete Travis
- Fedora Docs Project Leader
- 'randomuser' on freenode
- immanetize at fedoraproject.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/docs/attachments/20141219/b18cab99/attachment.sig>
More information about the docs
mailing list