1. 31 10月, 2013 1 次提交
  2. 23 9月, 2013 1 次提交
  3. 10 8月, 2013 1 次提交
    • D
      Add documentation for access control system · da13f2c7
      Daniel P. Berrange 提交于
      This adds two new pages to the website, acl.html describing
      the general access control framework and permissions models,
      and aclpolkit.html describing the use of polkit as an
      access control driver.
      
      page.xsl is modified to support a new syntax
      
        <div id="include" filename="somefile.htmlinc"/>
      
      which will cause the XSL transform to replace that <div>
      with the contents of 'somefile.htmlinc'. We use this in
      the acl.html.in file, to pull the table of permissions
      for each libvirt object. This table is autogenerated
      from the enums in src/access/viraccessperms.h by the
      genaclperms.pl script.
      
      newapi.xsl is modified so that the list of permissions
      checks shown against each API will link to the description
      of the permissions in acl.html
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      da13f2c7
  4. 08 8月, 2013 1 次提交
    • D
      Add info about access control checks into API reference · 664ab280
      Daniel P. Berrange 提交于
      So that app developers / admins know what access control checks
      are performed for each API, this patch extends the API docs
      generator to include details of the ACLs for each.
      
      The gendispatch.pl script is extended so that it generates
      a simple XML describing ACL rules, eg.
      
        <aclinfo>
          ...
          <api name='virConnectNumOfDomains'>
            <check object='connect' perm='search_domains'/>
            <filter object='domain' perm='getattr'/>
          </api>
          <api name='virDomainAttachDeviceFlags'>
            <check object='domain' perm='write'/>
            <check object='domain' perm='save' flags='!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE'/>
            <check object='domain' perm='save' flags='VIR_DOMAIN_AFFECT_CONFIG'/>
          </api>
          ...
        </aclinfo>
      
      The newapi.xsl template loads the XML files containing the ACL
      rules and generates a short block of HTML for each API describing
      the parameter checks and return value filters (if any).
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      664ab280
  5. 07 5月, 2013 1 次提交
  6. 01 2月, 2013 1 次提交
  7. 18 1月, 2013 2 次提交
    • C
      docs: don't use <i> and <tt> HTML tags · cb022b6b
      Claudio Bley 提交于
      Use of <tt> is discouraged in HTML 4.x and has finally been obsoleted
      in HTML 5. Likewise for the <i> tag.
      
      Using tables for layout is (widely) considered bad style, too.
      
      Use defintion lists, definition term and defintion description
      elements instead.
      Signed-off-by: NClaudio Bley <cbley@av-test.de>
      cb022b6b
    • C
      docs: Assign classes to documentation elements · 458dd20d
      Claudio Bley 提交于
      In CSS the following class names are available:
      
      * keyword     (keywords like "typedef", "struct")
      * type        (types like "int", "void*")
      * comment     (comments after members of enums or structs)
      * directive   (preprocessor directives, #define)
      * undisclosed (text saying that the API is not public)
      
      Additionally, kill all of the left-over "programlisting" class
      assignments. There are no CSS rules for them.
      Signed-off-by: NClaudio Bley <cbley@av-test.de>
      458dd20d
  8. 09 1月, 2013 1 次提交
    • C
      docs: break longer text into paragraphs in HTML · 3b54b2e3
      Claudio Bley 提交于
      Libvirt's HTML documentation is not as easy to the eyes as it could
      be since long text has no visual breaks.
      
      Take advantage of the formatting in documentation comments and wrap
      each part separated by two consecutive \n into a HTML <p> element.
      3b54b2e3
  9. 12 8月, 2011 1 次提交
    • P
      Improve tokenizing of linkable terms · ce7244a0
      Philipp Hahn 提交于
      Currently only tabs and blanks are used for tokenizing the description,
      which breaks when a term is at the end of a line or has () appended to
      it.
      1. Use also other white space characters such as new-lines and carriage
         return for splitting.
      2. Remove some common non-word characters from the token before lookup.
      Signed-off-by: NPhilipp Hahn <hahn@univention.de>
      ce7244a0
  10. 22 6月, 2011 1 次提交
    • D
      Fix to python API extractor and API doc generation · d42ea21a
      Daniel Veillard 提交于
      This fixes a number of issues most of them raised by Eric Blake on the
      generated documentation output:
         - parsing of "long long int" and similar
         - add parsing of unions within a struct
         - remove spurious " * " fron comments on structure fields and enums
         - fix concatenation of base type and name in arrays
         - extend XSLT to cope with union in structs
      
      * docs/apibuild.py: fix and extend API extraction tool
      * docs/newapi.xsl: extend the stylesheets to cope with union in
        public structures
      d42ea21a
  11. 08 12月, 2009 1 次提交
  12. 26 4月, 2008 1 次提交
  13. 24 4月, 2008 1 次提交
  14. 06 2月, 2008 1 次提交
  15. 29 6月, 2007 1 次提交
  16. 10 2月, 2006 1 次提交
  17. 22 1月, 2006 1 次提交
  18. 20 1月, 2006 1 次提交
  19. 09 12月, 2005 2 次提交
  20. 07 12月, 2005 1 次提交