1. 16 Jul, 2021 1 commit
  2. 07 May, 2021 1 commit
  3. 30 Apr, 2021 1 commit
  4. 21 Apr, 2021 1 commit
  5. 07 Feb, 2020 2 commits
  6. 22 Jan, 2020 1 commit
  7. 08 Jan, 2020 1 commit
  8. 05 Dec, 2019 1 commit
  9. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  10. 15 Nov, 2019 1 commit
  11. 10 Sep, 2019 1 commit
  12. 10 Jul, 2019 1 commit
    • Greg Spencer's avatar
      Add anchors to samples (#35906) · 67ee3e19
      Greg Spencer authored
      This adds an "anchor button" to each of the samples so that the user can link to individual samples instead of having to link to just the page. Clicking on the anchor button jumps to the anchor, as well as copying the anchor URL to the clipboard.
      
      There is some oddness in the implementation: because dartdoc uses a <base> tag, the href for the link can't just be "#id", it has to calculate the URL from the current window href. I do that in the onmouseenter and onclick because onload doesn't get triggered for <a> tags (and onmouseenter doesn't get triggered for mobile platforms), but I still want the href to be updated before someone right-clicks it to copy the URL.
      67ee3e19
  13. 03 Jun, 2019 1 commit
  14. 08 Jan, 2019 1 commit
  15. 08 Nov, 2018 1 commit
  16. 07 Nov, 2018 1 commit
    • Greg Spencer's avatar
      Fixes several bugs in samples, quotes HTML properly, and pre-compiles snippet tool. (#24020) · 094f93df
      Greg Spencer authored
      When converting all of the samples to use the snippet tool, I encountered some bugs/shortcomings:
      
      1. The document production took 90 minutes, since the snippet tool was being invoked from the command line each time. I fixed this by snapshotting the executable before running, so it's down to 7 minutes.
      
      2. The sample code was not being properly escaped by the snippet tool, so generics were causing issues in the HTML output. It is now quoted.
      
      3. Code examples that used languages other than Dart were not supported. Anything that highlight.js was compiled for dartdoc with is now supported.
      
      4. The comment color for highlight.js was light grey on white, which was pretty unreadable. It's now dark green and bold.
      094f93df
  17. 06 Nov, 2018 3 commits
  18. 23 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Dartdoc snippet extension to inject full featured code snippets in to API docs. (#23281) · 65d3ddd5
      Greg Spencer authored
      This creates a custom dartdoc tool that will generate snippet blocks in our API docs that allow the user to copy easily to the clipboard, and will also embed the snippet code into a template to show it in a larger context with an app.
      
      This PR adds the snippet tool, a template, and a couple of HTML skeleton files, one for snippets that are designed to be in an application setting, and one where it simply puts a nice container around existing snippets, making them easier to copy to the clipboard.
      65d3ddd5