Skip to content
  1. Dec 07, 2012
    • Sean Silva's avatar
      docs: Convert LangRef to reST. · b084af41
      Sean Silva authored
      NOTE: If you have any patches in the works that modify LangRef, you will
      need to rewrite the changes to LangRef.html to their equivalents in
      LangRef.rst. If you need assistance feel free to contact me.
      
      Since LangRef is mission-critical for the project and "normative", I
      have taken extra care to ensure that no content was lost or altered in
      the conversion. The content was converted with a tool called `pandoc`,
      so there is no chance for a human error like accidentally forgetting a
      sentence or whatever. After the initial conversion by `pandoc`, only
      changes to the markup were done.
      
      This is just the most literal conversion of the HTML document as
      possible. It might be worth exploring some way to chop up this massive
      document into separate pages, e.g. something like
      `docs/LangRef/Instructions.rst`, `docs/LangRef/Intrinsics.rst`, etc.
      with `docs/LangRef.rst` being an "intro/navigation page" of sorts. On
      the other hand, that loses the ability to {Ctrl,Cmd}-F for a given term
      right from your browser.
      
      IMO, I think our stylesheet needs some work because I find it hard to
      tell what level of nesting some of the headings are at (e.g. "is this a
      new section or is it a subsection?"). The issue is present on other
      pages, but the sheer size and deep section structure of LangRef really
      brings this issue out. If there are any web designers out there in the
      community it would be awesome if you tried to come up with something
      nicer.
      
      llvm-svn: 169596
      b084af41
  2. Dec 06, 2012
  3. Dec 05, 2012
    • Sean Silva's avatar
      docs: Explain plain preformatted text · 33af5003
      Sean Silva authored
      llvm-svn: 169352
      33af5003
    • Sean Silva's avatar
      docs: Sphinxify `docs/tutorial/` · d7fb396e
      Sean Silva authored
      Sorry for the massive commit, but I just wanted to knock this one down
      and it is really straightforward.
      
      There are still a couple trivial (i.e. not related to the content)
      things left to fix:
      
      - Use of raw HTML links where :doc:`...` and :ref:`...` could be used
        instead. If you are a newbie and want to help fix this it would make
        for some good bite-sized patches; more experienced developers should
        be focusing on adding new content (to this tutorial or elsewhere, but
        please _do not_ waste your time on formatting when there is such dire
        need for documentation (see docs/SphinxQuickstartTemplate.rst to get
        started writing)).
      
      - Highlighting of the kaleidoscope code blocks (currently left as bare
        `::`).  I will be working on writing a custom Pygments highlighter for
        this, mostly as training for maintaining the `llvm` code-block's lexer
        in-tree. I want to do this because I am extremely unhappy with how it
        just "gives up" on the slightest deviation from the expected syntax
        and leaves the whole code-block un-highlighted.
      
        More generally I am looking at writing some Sphinx extensions and
        keeping them in-tree as well, to support common use cases that
        currently have no good solution (like "monospace text inside a link").
      
      llvm-svn: 169343
      d7fb396e
  4. Dec 04, 2012
  5. Dec 03, 2012
  6. Dec 02, 2012
  7. Dec 01, 2012
  8. Nov 29, 2012
  9. Nov 28, 2012
  10. Nov 27, 2012
  11. Nov 26, 2012
  12. Nov 22, 2012
  13. Nov 21, 2012
Loading