vala-www

所属分类:编程语言基础
开发工具:SCSS
文件大小:0KB
下载次数:0
上传日期:2023-08-25 05:54:45
上 传 者sh-1993
说明:  Vala编程语言的网站,
(Website of the Vala programming language,)

文件列表:
.devcontainer.json (256, 2023-12-26)
.editorconfig (169, 2023-12-26)
.prettierignore (13, 2023-12-26)
.prettierrc (42, 2023-12-26)
Dockerfile (316, 2023-12-26)
LICENSE (20139, 2023-12-26)
assets/ (0, 2023-12-26)
assets/code-sample.md (714, 2023-12-26)
assets/showcase-items.json (1650, 2023-12-26)
assets/vala-hero-next.svg (13077, 2023-12-26)
config.toml (26094, 2023-12-26)
content/ (0, 2023-12-26)
content/_index.cs.md (262, 2023-12-26)
content/_index.fr.md (260, 2023-12-26)
content/_index.md (248, 2023-12-26)
content/_index.pt_BR.md (260, 2023-12-26)
content/_index.ru.md (405, 2023-12-26)
content/_index.zh_CN.md (238, 2023-12-26)
content/about/ (0, 2023-12-26)
content/about/index.cs.md (1790, 2023-12-26)
content/about/index.fr.md (1929, 2023-12-26)
content/about/index.md (1641, 2023-12-26)
content/about/index.pt_BR.md (1859, 2023-12-26)
content/about/index.ru.md (2936, 2023-12-26)
content/about/index.zh_CN.md (1515, 2023-12-26)
content/blog/ (0, 2023-12-26)
content/blog/_index.md (208, 2023-12-26)
content/blog/planet-gnome.md (1001, 2023-12-26)
content/blog/vala-0-56.md (7692, 2023-12-26)
content/vala-hero.png (353498, 2023-12-26)
docker-compose.yml (125, 2023-12-26)
docs/ (0, 2023-12-26)
docs/1-overview.md (1953, 2023-12-26)
docs/2-structure.md (3931, 2023-12-26)
docs/3-pages.md (4233, 2023-12-26)
... ...

# Vala on the Web Website of the Vala programming language. View the website here: https://vala.dev You can contribute to the new documentation website here: https://gitlab.gnome.org/lwildberg/vala-tutorial ## Reporting bugs and requesting features Feel free to [create a new issue](https://github.com/vala-lang/vala-www/issues/new/choose) or [participate in an existing one](https://github.com/vala-lang/vala-www/issues) ## System Requirements - [Zola](https://www.getzola.org) (Version 0.17.2 or higher) ## Getting started First, start the development server: ```sh zola serve ``` Then you should be able to access the website on your browser by navigating to: [http://127.0.0.1:1111](http://127.0.0.1:1111). You can edit the index page by modifying `templates/index.html`. The rest of the pages are defined in `content`. ## Translations 1. Fork this repository 2. Work on the translations. The translation strings are in `config.toml`. You can use these resources for help: - https://www.getzola.org/documentation/content/multilingual/ - https://www.getzola.org/documentation/templates/pages-sections/ 3. For markdown pages (pages in `/content` where the content is written in markdown), you need to create a new markdown file for the translated version e.g. `page-name.{language_code}.md`. 4. Add your language to the `lang_map` macro in `templates/macros/body.html` 5. Create a pull request with the changes you've made **Important Notes:** - You must translate the About page and the Home page - To translate strings in `config.toml` phrase by phrase, copy and paste the original English translations then replace each phrase over time. - Feel free to ask for help. You can ask in the issue you created or on the [discussions page](https://www.github.com/vala-www/discussions). ## Adding new blog posts 1. Inside the `content/blog` directory: create a new markdown file that ends in `.md`, add [front matter](https://www.getzola.org/documentation/content/page/#front-matter) to the file then write the rest of your post below the front matter. 2. Create a pull request with the changes you've made. Note: For more information, check out the ["pages" section of the contributor guide](docs/3-pages.md). ## Website Documentation Check out the [contributor guide](docs/CONTRIBUTING.md) to learn more about how this website works. ## Credits Various people have contributed to this website in some way and, more people will also help with the project over time. The Contributors section in the GitHub repository doesn't tell the whole story. There's a file called `humans.txt` (available in [/static/humans.txt](/static/humans.txt)) where contributor details can be added. Feel free to request for your details to be added or add them yourself if you have contributed to this project in any way. This is available for anyone to see if they visit: https://vala.dev/humans.txt. You can find out more about humans.txt at: https://humanstxt.org/. ## Additional Resources - [Zola Documentation](https://www.getzola.org/documentation/getting-started/overview/) - [Tera Documentation](https://tera.netlify.app/docs/) - [MDN Web Docs](https://developer.mozilla.org)

近期下载者

相关文件


收藏者