Commit Graph

449 Commits

Author SHA1 Message Date
Eric Holscher
3a73a2c9c4 Merge pull request #64 from rtfd/comment-parsing-fixes
Fix parsing issues with code comment XML
2016-02-26 11:24:43 -08:00
Anthony Johnson
66dcf1fcaa Add resolution to spec identifiers using docfx references
This uses the docfx output references to resolve the spec identifier to a human
friendly name. The linking still requires full reference resolution however.

Refs #58
2016-02-25 14:35:09 -08:00
Anthony Johnson
019f064f36 Fix parsing issues with code comment XML
* paramref surrounding characters were not handled
* multiple paramrefs weren't parsed out
* uses correct return field

* Fixes #55
* Fixes #56
2016-02-25 11:46:56 -08:00
Anthony Johnson
498a0c31de Merge branch 'appveyor-config' 2016-02-25 11:46:16 -08:00
Anthony Johnson
12e85828f0 Clone test repo before testing 2016-02-25 11:43:44 -08:00
Anthony Johnson
bfccdf49aa Try again to fix appveyor certificates 2016-02-24 10:16:31 -08:00
Anthony Johnson
53357dd5df Another fix to appveyor 2016-02-24 10:01:47 -08:00
Anthony Johnson
5bf691e0ef Fix appveyor config for pip 2016-02-23 17:00:14 -08:00
Daniel Roth
ca3a002aa6 Update extension.py to handle absolute paths 2016-02-02 21:14:28 -08:00
Eric Holscher
264cfcbf45 Merge pull request #51 from rtfd/fix-list-styling
.NET template output breaks definition lists on listing pages
2016-01-15 10:31:20 -08:00
Anthony Johnson
598f449b8e Format definition lists correctly
If the construct is missing documentation, it broke defnition list styling. This
inserts a placeholder comment to avoid that.
2016-01-12 16:33:34 -08:00
Anthony Johnson
a672d55187 Lint fix 2016-01-12 16:33:10 -08:00
Eric Holscher
52f3558953 Merge pull request #40 from rtfd/template-path
Fix template path issues on windows
2015-10-30 19:33:53 -07:00
Anthony Johnson
bcee7eb22a Use autoapi_root for url root configuration 2015-10-28 11:04:23 -07:00
Anthony Johnson
61db34a4d6 Move include path to base object 2015-10-27 11:35:44 -07:00
Anthony Johnson
d30fa32762 Add configurable url prefix 2015-10-27 11:35:44 -07:00
Anthony Johnson
93869e4ad6 Deconstruct pathname on object 2015-10-27 11:34:54 -07:00
Anthony Johnson
3fd930f4fb Try it again 2015-10-27 11:34:54 -07:00
Anthony Johnson
5fa272ca4b Fix template path issue on windows, fixes #37 2015-10-27 11:34:54 -07:00
Eric Holscher
0cfa8bbcbb Merge pull request #39 from rtfd/ref-escaping
References and escaping issues with transformed XML content
2015-10-27 09:19:02 -07:00
Anthony Johnson
1688b53f42 Replace non-existant :dn:ref: reference with :any: for now
This will resolve more lookups as proper references, not anchor links. The :any:
lookup is strict though, the domain should implement it's own :dn:obj: generic
lookup.
2015-10-27 01:12:25 -07:00
Anthony Johnson
2fd908e2a7 Fix test 2015-10-27 00:51:26 -07:00
Anthony Johnson
af5bb7daeb Fix some escaping issues with transformed XML content
Fixes #38
2015-10-27 00:46:59 -07:00
Eric Holscher
3dfd9ac47f Fix error 2015-10-12 10:50:46 -07:00
Eric Holscher
81d4568713 Merge pull request #35 from rtfd/support-multiple-source-dirs
Rename `autoapi_dir` to `autoapi_dirs` to support multiple source dirs
2015-10-09 17:10:26 -07:00
Eric Holscher
7272f73948 Move slack alerts to random 2015-09-23 16:06:17 -07:00
Eric Holscher
2958bc34fb Fix linting errors 2015-09-23 16:04:45 -07:00
Eric Holscher
95154786ac Update docs 2015-09-23 16:02:11 -07:00
Eric Holscher
b471a7dab1 Update docs 2015-09-23 16:01:34 -07:00
Eric Holscher
4de4b376ca Rename autoapi_dir to autoapi_dirs to support multiple 2015-09-23 16:00:43 -07:00
Eric Holscher
9a764df41a Merge pull request #34 from danroth27/patch-2
Update extension.py
2015-09-22 08:22:29 -07:00
Daniel Roth
180c1bb36b Update extension.py
Missing an 's'
2015-09-22 08:02:34 -07:00
Eric Holscher
94757e5dfd Update sphinx version too 2015-09-05 15:57:28 -05:00
Eric Holscher
53def8fc2d Bump to 0.2 2015-09-05 15:55:30 -05:00
Eric Holscher
307b2010a0 Merge pull request #27 from rtfd/windows-fixes
Fixes necessary for running on Windows
2015-09-05 15:54:57 -05:00
Anthony Johnson
c645cc18c0 Fix env passed to command, drop docfx.cmd detection 2015-08-21 01:13:08 -07:00
Anthony Johnson
47fbd54623 Drop shell subprocess execution 2015-08-20 22:11:16 -07:00
Anthony Johnson
9b75431e6e Configure docfx command by system 2015-08-20 22:01:25 -07:00
Eric Holscher
307885efb7 Add appveyor badge 2015-08-20 11:13:29 -07:00
Eric Holscher
3a22ae63e0 Merge pull request #23 from rtfd/doc-name-slugging
Use more proper slugging on filenames for object
2015-08-19 10:48:10 -07:00
Eric Holscher
82470beaf6 Merge pull request #22 from rtfd/xml-parsing
Stub out XML parsing
2015-08-18 21:01:31 -07:00
Anthony Johnson
9dbd2f78dd Fix os path separator 2015-08-18 18:18:54 -07:00
Anthony Johnson
87a16ea421 Use more proper slugging on filenames for object
This resolves some issues with special characters in paths on Windows based
systems. It replaces special characters and unicode characters to ensure paths
are predictable.
2015-08-18 18:10:25 -07:00
Anthony Johnson
436eb28d9f Parse out doc id prefixes and add reference types 2015-08-18 14:30:08 -07:00
Anthony Johnson
9676bd011c Doc comment parsing and some optimizations to regex substitutions and patterns
Relies on regex replace and multiple replacement substitions, rather than
iterating over the pattern and applying logic to the found patterns.

Handles:

 * see & seealso - creates a reference link
 * paramref & typepararef - we can't reference params in sphinx, so this just
   replaces with bold text
2015-08-18 12:22:46 -07:00
Eric Holscher
460aea6a8b Stub out XML parsing 2015-08-18 12:22:46 -07:00
Eric Holscher
f8e1d7435c Kill redefined ref_name 2015-08-17 15:04:15 -07:00
Eric Holscher
ee6a2ada3c Use ref_name instead of hacking specific name 2015-08-17 15:02:06 -07:00
Eric Holscher
c14ae7e8f1 Fix linting 2015-08-17 13:03:21 -07:00
Eric Holscher
05d891915f Kill wrong bash prefix 2015-08-17 12:54:10 -07:00