{"push_id":777140378,"size":1,"distinct_size":1,"ref":"refs/heads/add-crossdart-links","head":"74c8aade2f15927869305f98344f3b22387307e6","before":"d1ef0eaabd5046dbad7d1af50ba0a665086975b5","commits":[{"sha":"74c8aade2f15927869305f98344f3b22387307e6","author":{"email":"ac1e4ea55b722cabb2ccc0b62dff97dc38adf461@gmail.com","name":"Anton Astashov"},"message":"Add Crossdart links\n\nAdded them to the _source_code partial, so every time we show the source\ncode for something, it will have the Crossdart link.\n\nAlso, added --add-crossdart cli option.\nUnfortunately, I couldn't find any global config entity in DartDoc, and\npassing addCrossdart bool through all the code down to SourceCodeMixin\nseems to be too dirty and awkward.\n\nSo I created the Config class, which for now contains only one field\n(addCrossdart), and use that class in SourceCodeMixin to decide whether\nI should add crossdart url or not.\n\nThe protocol and domain for crossdart link is '//', so it'd match the\ncurrently used protocol.","distinct":true,"url":"https://api.github.com/repos/astashov/dartdoc/commits/74c8aade2f15927869305f98344f3b22387307e6"}]}