Name | Modified | Size |
---|---|---|
.. | ||
htmlhelp | ||
publicsite | ||
webhelp |
Change | User | Description | Committed |
---|---|---|---|
12854 | eedwards | Fix JSON table of contents generation: markup in <refentry> tags introduces whitesp...ace that makes the JSON invalid. Now, the TOC entry's title has leading and trailing whitespace trimmed. « |
10 years ago |
12847 | eedwards | Disable Perforce documentation analytics for user builds. | 10 years ago |
12846 | eedwards | Adjust the FOP configuration to comment out fonts we normally use, but canno...t redistribute. « |
10 years ago |
12845 | eedwards | Tidy up the FOP configuration file, in preparation for setting up a Workshop-only version... that doesn't specify the fonts we use but are not licensed to redistribute. « |
10 years ago |
12840 | eedwards |
Upgrade to jQuery 1.11.3 from 1.10.2. There should be no visible or operational changes. |
10 years ago |
12839 | eedwards | Upgrade Bootstrap to 3.3.4 (latest release) from 3.0.0. There should be no visible change...s. « |
10 years ago |
12838 | eedwards |
Fix a bug that broke index generation when UTF-8 entities exist in the index content. |
10 years ago |
12837 | eedwards | #review-1029519 Change the way that the TOC is generated for the HTML presentation: - no... longer include the TOC in each generated HTML page. - generate a JSON file representing the TOC. - add javascript to read the TOC in JSON format, and generate the appropriate HTML. - Remove the noscript block that prevents using the documentation with javascript disabled; just hide the search button because you can't use search without javascript. « |
10 years ago |
12834 | eedwards | Fix minor configuration issue where, if the specified monospace font was not available, a... serif font was specified as the fallback. Now the fallback is monospace. « |
10 years ago |
12832 | eedwards | Revise the javascript used in the HTML presentation to make the embedded English strings... easy to translate. Each translated guide would: - update the guide-specific XSLT to include something like: <xsl:template name="user.webhelp.foot.content"> <script type="text/javascript" src="js/guide.js"></script> </xsl:template> - edit the "guide.js" to reflect the actual name for the guide-specific javascript file to be included. - include in "guide.js": p4.locale_text = { "Reading time: about": "Reading time: about", "minute": "minute", "minutes": "minutes", "words": "words", "Documentation Keyboard Shortcuts": "Documentation Keyboard Shortcuts", "Show this help": "Show this help", "ESC": "ESC", "to close": "to close", "or": "or", "Next page": "Next page", "Previous page": "Previous page", "Scroll to top of current page": "Scroll to top of current page", "Go to the home page of this guide": "Go to the home page of this guide", "Go up one level in this guide": "Go up one level in this guide", "Open the search sidebar": "Open the search sidebar", "Clear the search term(s)": "Clear the search term(s)", "Click to expand": "Click to expand", "Click to shrink": "Click to shrink", "Exact Matches": "Exact Matches", "Fuzzy Matches": "Fuzzy Matches", "Phrase Matches": "Phrase Matches", } - Translate the right-hand side of the above messages. « |
10 years ago |
12831 | eedwards |
Fix a minor vertical alignment problem in the keyboard shortcuts dialog. |
10 years ago |
12829 | eedwards | Follow-on to @1030339: make the reading progress indicator span the entire width of the h...eader. « |
10 years ago |
12828 | eedwards | #review-1028126 Update the logo for both PDF, HTML, and CHM output. Includes updated favi...con.ico for the HTML output. Includes some additional tweaks: - In the HTML presentation, the "book" icon (to access the PDF, if available) and the magnifying glass icon for searching both look more clickable, using colors from the latest perforce.com design. - Also, both icons stick to the right edge of the doc content, rather than the right edge of the browser. - The background color in the HTML presentation is now plain white; the gradient image is removed. - The Google Analytics code is now included in the HTML presentation by default. Individual guides can disable this by setting the DocBook parameter perforce.analytics=0. Once this change is in place, subsequent generation of guides will incorporate these changes. « |
10 years ago |
12827 | eedwards | Add an estimate of reading time to the top of each HTML page. Also add an indicator of re...ading progress to the fixed header. « |
10 years ago |
12825 | eedwards | Disable the addition of a <br> tag after formal tables/examples/figures etc. for HT...ML output; it messes with the spacing we control via CSS. « |
10 years ago |
12824 | eedwards | Add a <keycap> customization to apply a Unicode font to the special <keycap>... symbols. « |
10 years ago |
12823 | eedwards | Add a new 'htmlhelp' doc build target that generates the HTML, index, TOC files that can... be compiled into a CHM file on a Windows machine using HTML Help Workshop. The build target can be used wherever the doc infrastructure runs, but the final CHM compilation currently needs to be performed on a Windows box. This means full CHM production automation is currently unavailable. Further investigation into non-Microsoft CHM compilers will be required for full automation. Note that any guide that requires CHM production will need to add its own 'htmlhelp' asset tree. The P4VS guide will (shortly) become a decent reference, if required. For any XSLT tinkerers, note that only a few of the 'htmlhelp' DocBook parameters are currently passed through to the transformation phase. If you need to pass any additional parameters through, add them to build.xml as appropriate. « |
10 years ago |
12822 | eedwards | Add additonal styles to provide the correct stacking order for popup elements. This shoul...d make them more reliably clickable. « |
10 years ago |
12821 | eedwards | Adjust the page margins for PDF output so that the inner and outer margins match. This... provides a greater line length on each page that should help with the formatting of complicated tables, at the risk of providing a poorer experience for anyone who prints+binds our guides. However, we think very few users print the guides, and very few of those likely go to the trouble of binding. « |
10 years ago |
12820 | eedwards | CSS fix to improve popup image placement. | 10 years ago |
12819 | eedwards | Improve the appearance of numbered lists within admonitions by applying admonition-specif...ic colors to the left border and border/background of the number. « |
10 years ago |
12818 | eedwards |
Tweak the index presentation to use two columns, and the same font size at the body copy. |
10 years ago |
12817 | eedwards | Improve the presentation of indexes in PDF/HTML. | 10 years ago |
12816 | eedwards | Adjust the selectors for eliminating paragraph margins to be more specific, to avoid remo...ving the margins for paragraphs following pre blocks. « |
10 years ago |
12815 | eedwards | Apply a slightly larger width to ordered list labels so that it doesn't look like the num...bers run into the content, especially when the numbering goes from 9 to 10. « |
10 years ago |
12813 | eedwards | Apply a 1" bottom border globally for PDF generation, to work around a page break bug in... Apache FOP. This configuration had been applied selectively to specific guides, but it appears we hit this problem frequently enough to do it globally. « |
10 years ago |
12810 | eedwards | Add styling tweaks for images with specified sizes. When this occurs, DocBook creates a... table to wrap around the image, and we want to turn off borders, cell padding, and the image's "max-width: 100%" styling to achieve the desired presentation. « |
10 years ago |
12809 | eedwards | #review-954548 Add the infrastructure to present a "PDF" link in the header bar in the HT...ML presentation. Not all guides provide PDF versions, so this is configurable on a guide-by-guide basis. The default is to omit the link. When a guide provides a PDF version, set the pdf.available attribute to the name of the PDF file that the link should target. For example, in P4Guide's publicsite build.properties: pdf.available=p4guide.pdf A subsequent changelist will apply this attribute to all of the server guides. « |
10 years ago |
12805 | eedwards | Add a mechanism to remove a section from a TOC. In the CmdRef, the syntax, description,... usage notes, etc. appear in a standalone chapter. Each such chapter has very similar structure, and many appear on one page, so having the sub-sections appear in the TOC is not terribly useful for navigation purposes. Adding the attribute 'role="notoc"' prevents inclusion of the section's title in the enclosing TOC. This doesn't have any effect on the HTML presentation's navigation pane, just the PDF format's TOC. A future changelist will apply this feature to the CmdRef. « |
10 years ago |
12804 | eedwards | Add a new processing instruction <?chapterbreak?> which introduces one or two page... breaks so that following content appears on a recto page. A corresponding PI has been added to the HTML, which functions as a no-op, to avoid errors during transformation. This will help in the formatting of reference sections, where we prefer the content to appear in its own chapter, but still use recto pagination for each referenced item. « |
10 years ago |
12803 | eedwards | Add doc generation infrastructure to the translations of the server guides. These current...ly include Intro, P4Dist, P4Guide, and P4SAG (the 2014.1 versions). This change includes: - adding a lang attribute to each guide to specify either "ko_kr" or "zh_cn" as appropriate, to inform DocBook transformations which generated elements (including TOC, chapter headings, cross-reference link text) to use. - Included the English screenshots for Intro and P4Guide, since these were not translated. - Tweaked the way common XML files are included to not depend on relative path structure (since the translations are nested within the English guide directory). - The common XML files have not yet been translated, so PDF or HTML transformations still include English content. Also, the HTML presentation includes English for various items, such as the search pane; these too have not yet been translated. « |
10 years ago |
12801 | eedwards | CSS fix for spacing of entries in a <variablelist>. | 10 years ago |
12800 | eedwards | Doc presentation tweaks: - For PDF cover page: - move logo to top-left from botto...m right - move title down - move subtitle near bottom - add <pubdate> presentation below subtitle (the <subtitle> now specifies the doc version) - tweaked font sizes - For HTML: - Add Perforce logo to header bar. - Add <subtitle> in brackets after guide title. « |
11 years ago |
12795 | eedwards | #review-932846 Tweak the styling for headings in the HTML presentation: - make second-l...evel and third-level headings slightly larger, to better visually distinguish them from lower-level headings - make second-level headings for preface, appendix, and reference "chapters" consistent with chapters. - better organization of the heading styles to group like styling together, and demonstrate the progression of styling. - remove the border between second-level sections in exchange for greater whitespace between them. - reference sections with partintro blocks included an extra horizontal rule, which is no longer displayed. - Includes a tweak to allow Firefox to scale images in a response manner. « |
11 years ago |
12794 | eedwards | #review-907761 Fix a bug introduced in @901979 where we attempt to emit the chapter title... even when chapter.autolabel is disabled. Also, and I'm not sure if this is desirable in all cases, remove the cell in the chapter heading table that reports "Chapter n" when chapter.autolabel is disabled. This has no effect in most guides, but does affect the CmdRef. « |
11 years ago |
12793 | eedwards | Tweak the color of the bottom border of a table to match the bottom borders of cells with...in the table. « |
11 years ago |
12792 | eedwards | A few updates to presentation for HTML and PDF: - Chapter cross-references no longer ap...pear in italics. - For PDF, <gui*> tag content renders in bold, to match the HTML output. - HTML cross-references to chapters now appears in quotation marks, but cross-references to sections now have the quotation marks removed. - A number of spacing issues in the HTML output between list items, admonitions, images, and a following paragraph have been resolved. « |
11 years ago |
12791 | eedwards | Improve the XSL that generates the 'Chapter X' designation on the first page of a chapter..., preface, or appendix such that a template is used for the entire string rather than just the word 'Chapter'. This makes it possible to use a template to translate this text properly. For example, the chapter number comes before the glyph for 'Chapter' in Chinese. There should be no visible difference for English guides. « |
11 years ago |
12790 | eedwards | Add Arial Unicode MS to the set of fonts used during PDF generation, to facilitate produc...tion of translated guides. « |
11 years ago |
12788 | eedwards | Improve PDF doc generation by using a dynamic path for font embedding within the FOP conf...iguration. This should help with docs that live outside of //depot/main/p4-doc/manuals (such as P4Convert) « |
11 years ago |
12787 | eedwards | #review-871968 Add additional hashtag processing to make it easier to craft URLs that tar...get specific portions of the HTML documentation when the provided section markers are not specific enough: #Sxx - scroll to xx percent down the page. e.g. #S45 to scroll 45% down the page. %Px - scroll to the xth "paragraph" block on the page, where code blocks are considered paragraphs, e.g. #P7 to scroll to the 7th "paragraph" %/xx - scroll to near the first instance of the text "xx". Matching is case-insensitive, and the text should be URI encoded. Wildcards not supported. e.g. #/Known%20limitations @gnicol should review. Rendered HTML is available for experimentation: http://ee.perforce.ca/docs/swarm.14.3/admin.security.html#S45 http://ee.perforce.ca/docs/swarm.14.3/admin.security.html#P11 http://ee.perforce.ca/docs/swarm.14.3/admin.security.html#/known%20limitations « |
11 years ago |
12786 | eedwards | Additional CSS to improve the experience of printing the HTML documentation. This does...n't address the 'single page' aspect of the job, but individual pages do appear much nicer on paper. « |
11 years ago |
12785 | eedwards |
Follow-on to 895408: better handling of negative scrolling situation. |
11 years ago |
12784 | eedwards | Improved nav pane scroll position when moving from page to page in a guide. The behaviour... isn't perfect in all situations yet, but is notably better. « |
11 years ago |
12783 | eedwards |
Add some margin below "framed" images to provide better separation for following content. |
11 years ago |
12782 | eedwards | Tweak CSS so that pop-up images, which only appear in the Swarm docs currently, are posit...ioned properly. Should have no other visible impact. « |
11 years ago |
12781 | eedwards | Correct the check for document_index so that if the index is not available, no javascript... errors occur that inhibit the rest of the UI. « |
11 years ago |
12780 | eedwards | Adjust the paragraph spacing within admonitions so that intermediary <literallayout>...; tags present as expected. « |
11 years ago |
12779 | eedwards |
Follow-on to @871273: Disable inclusion of HighlightJS, and re-enable Google Prettify. |
11 years ago |
12778 | eedwards | Remove the "aria-hidden" attribute from the documentation's "keyboard shortcuts" modal d...ialog, per @813797. For folks with screen readers, the close button should now be findable. « |
11 years ago |