aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/code.angularjs.org/README.md
blob: e3887004ccfa67601e7ebe5454750218457e26f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# code.angular.js.org Script

Script for updating code.angularjs.org repo from current local build.

Note: For a snapshot build, this will fetch the data from the ci server
and NOT take the local build!

## Instructions

`grunt package`: Build angular locally

```shell
./publish.sh
```

## License
MIT

="o">= sorted([(item[1][0], item[0]) for item in get_all_lexers()]) STYLE_CHOICES = sorted((item, item) for item in list(get_all_styles())) class PygmentsForm(forms.Form): """A simple form with some of the most important pygments settings. The code to be highlighted can be specified either in a text field, or by URL. We do some additional form validation to ensure clients see helpful error responses.""" code = forms.CharField(widget=forms.Textarea, label='Code Text', max_length=1000000, help_text='(Copy and paste the code text here.)') title = forms.CharField(required=False, help_text='(Optional)', max_length=100) linenos = forms.BooleanField(label='Show Line Numbers', required=False) lexer = forms.ChoiceField(choices=LEXER_CHOICES, initial='python') style = forms.ChoiceField(choices=STYLE_CHOICES, initial='friendly')