Table of Contents¶
- How to Install Drafter
- Drafter Quick Start Guide
- Workbook
- Longer Examples
- Drafter Documentation for Students
- HTML
- Styling
- A Full Styling Example
- Styling Functions
float_left()float_right()bold()italic()underline()strikethrough()monospace()small_font()large_font()change_color()change_background_color()change_text_size()change_text_font()change_text_align()change_text_decoration()change_text_transform()change_margin()change_border()change_padding()change_width()change_height()
- Keyword Parameters
- CSS Style Tags
- CSS Classes
- Adding Website CSS
- Changing Themes
- Testing Drafter Applications
- Deployment
- Step 1: Create the Repository
- Step 2: Enable GitHub Pages
- Step 3: Edit Your Main.py File
- Step 4: Upload Additional Files (If Needed)
- Step 5: Upload Your Planning Document
- Step 6: Update set_site_information with Your Details
- Step 7: Record a Video
- Step 8: Deploy Your Website
- Step 9: Get Your Deployed URL and Submit
- Checking Your Site Information
- Deployment Dashboard
- Common Issues and Tips
- Reference Lists
- More Help
- Full API Documentation
ServerServer.about()Server.add_route()Server.clear_routes()Server.convert_parameter()Server.dump_state()Server.flash_warning()Server.handle_images()Server.load_from_state()Server.make_bottle_page()Server.make_debug_page()Server.make_error_page()Server.prepare_args()Server.reset()Server.restore_state_if_available()Server.run()Server.serve_image()Server.setup()Server.test_deployment()Server.try_special_conversions()Server.verify_page_result()Server.verify_page_state_history()Server.wrap_page()
SiteInformationbundle_files_into_js()get_all_routes()get_main_server()get_server_setting()protect_script_tags()set_main_server()start_server()BakeryTestCaseassert_equal()diff_tests()route()PageConversionRecordUnchangedRecordVisitedPageadd_website_css()add_website_header()default_index()deploy_site()hide_debug_information()set_site_information()set_website_framed()set_website_style()set_website_title()show_debug_information()DebugInformationServerConfigurationApiKeyBoxArgumentBoxBulletedListButtonCheckBoxDivDivisionDownloadFileUploadHeaderHorizontalRuleImageLineBreakLinkLinkContentMatPlotLibPlotNumberedListPageContentPicturePrePreformattedTextRowSelectBoxSpanSubmitButtonTableTextTextAreaTextBoxmake_safe_argument()make_safe_json_argument()make_safe_name()validate_parameter_name()float_left()float_right()update_attr()update_style()LLMErrorLLMMessageLLMResponsecall_gemini()call_gemini_structured()call_gpt()call_gpt_structured()clear_api_key()get_stored_api_key()save_api_key()