html tidy api,GitHub - htacg/html-tidy.org: Contains the html-tidy.org website

README for HTACG GitHub Pages

This repository consists of the HTML Tidy homepages.

For ease of maintenance by multiple contributors HTACG's GitHub pages take advantage of

GitHub’s Jekyll integration. Therefor it is necessary to be slightly familiar with Jekyll

and GitHub’s implementation of Jekyll in order to make changes to our sites.

References

Everything you need to know about Jekyll can be found on

jekyllrb.com.

About Github and HTACG Pages

The HTACG group main project page is served from files located in

https://github.com/htacg/htacg.github.io. It

can be reached from http://www.htacg.org or

http://htacg.github.io. The latter is the standard means of

accessing the project page, however the former works because we've set up a domain name

and configured GitHub to use the domain name via the CNAME file in the repository.

HTACG Project pages are available as subdirectories of the HTACG domain, for example:

In general this is intuitive behaviour of GitHub pages but it can cause some issues with

relative paths used for project web pages. For example:

The HTML-Tidy main project page is served from files located in

https://github.com/htacg/tidy-html5/tree/gh-pages.

It can be reached from http://www.html-tidy.org, or as above,

from http://www.htacg.org/html-tidy.

This is where resource paths can be an issue. Thus it's important to follow the advice

given on Jekyll's

site. This will ensure that resources such as stylesheets and images are served from the

appropriate directory.

In summary use the site.baseurl variable as described in the linked document, and when

performing local previewing start Jekyll's server with:

jekyll serve --baseurl ''

or

bundle exec jekyll serve --baseurl ''

Specifying the baseurl on the command line will override the base URL set in

_config.yml.

About Binaries

Coming Soon.

About API and Quick Reference Documentation

These are all now stored in the tidy-html5-api repository, and links to them should be

to http://api.html-tidy.org. Documentation should be placed into the tidy directory, and

entries can be added to the appropriate files in index\_posts.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值