Comments (6)
Specifically, any multi-line comment should not be indented to the level of the code that the comment applies to. Given the following Avro IDL
@namespace("com.example") /** This is a comment for the whole protocol */ protocol Example { /** The comment applies to the `NoSpaces` record, but is not indented to the level of the record specification. */ record NoSpaces { /** This is a single line comment that is indented for readibility, and is not effected by indentation. */ string single_line_comment_property; /** This multi-line comment on `mult_line_property` that would be effected by indentation. This is another paragraph This is an indented block and should be shown as such. Here is a code block that apparently does not work for avrodoc. E.g. no [GFM](https://help.github.com/articles/github-flavored-markdown) support. ```ruby # this is a Ruby code block def method(arg1, arg2=nil) puts "hello world!" end ``` */ string multi_line_property; } } ```
And refer to here for output:
http://angelfiles.s3.amazonaws.com/ga4gh/doc/test2.html#/schema/com.example.NoSpaces
from ga4gh-schemas.
@delagoya - I think the preference from the other issue was something more like this:
@namespace("com.example")
/**
comment
*/
protocol Example {
record x {
../**
..paragraph #1
..paragraph #2
..*/
..string y;
}
}
(in other words, the 2-space indent for fields/comments gets us at least some semblance of everything lining up without causing issues)
from ga4gh-schemas.
Is this issue able to be closed?
from ga4gh-schemas.
I think we need a PR to actually update the code indents.
from ga4gh-schemas.
@delagoya @cassiedoll is correct, IIRC; I think we're still waiting on a PR. I can take a shot at that today.
from ga4gh-schemas.
Thanks Frank!
from ga4gh-schemas.
Related Issues (20)
- Package for CRAN
- RNA expression data structure is inefficient HOT 7
- Rename repository HOT 2
- Update Release notes for the v0.6.0a10 release
- Remove created and updated timestamps from API HOT 4
- Add peer service human readable docs HOT 1
- Document maven release process HOT 1
- Move datamodel to its own repo
- Improve development.rst
- Content Type Negotiation
- Implement updated transcript effects protocol
- Deprecate reference ID in favor of reference name or accession ID HOT 1
- Recreate assay metadata HOT 2
- Update Java Protobuf Dependency to 3.1+
- protobuf java square write code-gen HOT 3
- Change booleans to enums
- Assay Metadata for Analysis object table is broken in documentation...
- GeoLocation attributes names HOT 1
- ListReferenceBasesRequest GET or POST HOT 1
- AnalysisResult scores
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ga4gh-schemas.